summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2016-01-19 21:55:53 +0000
committerNathan Kinkade <nath@nkinka.de>2016-01-19 21:55:53 +0000
commitf050c4c2db94f3322d569e95f747f97c490caf46 (patch)
tree43b8e1397f870134da53ade909a46625164f8d95
parent54191a8a0086dec2157e6da6d9528b9641e33d79 (diff)
Fix adding custom includes, broken when I removed the php file extension from URLs.
-rw-r--r--meta.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta.php b/meta.php
index 8a62d6f..caf6b2a 100644
--- a/meta.php
+++ b/meta.php
@@ -39,7 +39,7 @@ $commonHeaders .= str_replace("&", "&amp;", $xajax->getJavascript($config->_jsUr
switch ( $config->_thisScript ) {
- case "view_food.php":
+ case "view_food":
$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.php":
+ case "view_meal":
$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.php":
+ case "view_diary":
$myHeaders = <<<HEADERS
<link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' />
@@ -75,7 +75,7 @@ $commonHeaders
HEADERS;
break;
- case "register.php":
+ case "register":
$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.php":
+ case "edit_account":
$myHeaders = <<<HEADERS
<link href='{$config->_jsUri}/jscalendar/calendar-system.css' type='text/css' rel='stylesheet' />