Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jul 12, 2015
1 parent 4087e2e commit 0f0a50d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/listr-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function set_header($bootstrap_css) {

global $options;

if ($options['general']['custom_title'] == null) {
if ($options['general']['custom_title'] === null) {
$index = sprintf(_('Index of %1$s%2$s'), $_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI']);
} else {
$index = $options['general']['custom_title'];
Expand Down Expand Up @@ -87,7 +87,7 @@ function set_header($bootstrap_css) {

// Append CSS
foreach($options['assets']['append_css'] as $append_css) {
if ($append_css != null) {
if ($append_css !== null) {
$header .= " <link rel=\"stylesheet\" href=\"$server$append_css\" />" . PHP_EOL;
}
}
Expand Down Expand Up @@ -149,7 +149,7 @@ function set_footer(){

// Append JS
foreach($options['assets']['append_js'] as $append_js) {
if ($append_js != null) {
if ($append_js !== null) {
$footer .= " <script type=\"text/javascript\" src=\"$server$append_js\"></script>" . PHP_EOL;
}
}
Expand Down

0 comments on commit 0f0a50d

Please sign in to comment.