diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2013-02-03 19:33:31 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2013-02-03 19:33:31 +0000 |
| commit | 3cf1ab1209f34ca512b11045afba2e06550ded5a (patch) | |
| tree | f1bb7a39f815d57c869aa3d1895b3cb7f410ef31 | |
| parent | 8468429f6fce081417f98ff25e51fc7835f75048 (diff) | |
Even though URL doesn't have .php extension, ->_thisScript still does... added back .php extensions to switch statement.
| -rw-r--r-- | meta.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -39,7 +39,7 @@ $commonHeaders .= str_replace("&", "&", $xajax->getJavascript($config->_jsUr switch ( $config->_thisScript ) { - case "view_food": + case "view_food.php": $myHeaders = <<<HEADERS <link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' /> @@ -51,7 +51,7 @@ $commonHeaders HEADERS; break; - case "view_meal": + case "view_meal.php": $myHeaders = <<<HEADERS <link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' /> @@ -63,7 +63,7 @@ $commonHeaders HEADERS; break; - case "view_diary": + case "view_diary.php": $myHeaders = <<<HEADERS <link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' /> @@ -75,7 +75,7 @@ $commonHeaders HEADERS; break; - case "register": + case "register.php": $myHeaders = <<<HEADERS <link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' /> @@ -87,7 +87,7 @@ $commonHeaders HEADERS; break; - case "edit_account": + case "edit_account.php": $myHeaders = <<<HEADERS <link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' /> |
