summary refs log tree commit diff stats
path: root/includes/functions.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-11-26 14:21:20 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-11-26 14:21:20 -0500
commit224f9ee5014ae5c5399188afd8d38e3b620e2856 (patch)
tree6432f783d495626e962835009b6d2f4fd53e42cd /includes/functions.php
parent34d358ba240bd19491f0f97faf04513318bee6c0 (diff)
downloadfourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.tar.gz
fourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.tar.bz2
fourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.zip
Added Fouripedia compatibility
Made many strutural changes to Four Island allowing for the reinclusion of Fouripedia.
Diffstat (limited to 'includes/functions.php')
-rwxr-xr-xincludes/functions.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/functions.php b/includes/functions.php index bc839df..dc5a549 100755 --- a/includes/functions.php +++ b/includes/functions.php
@@ -390,7 +390,12 @@ function getRewriteURL()
390{ 390{
391 if (!isset($_GET['area'])) 391 if (!isset($_GET['area']))
392 { 392 {
393 return '/'; 393 if (strpos($_SERVER['PHP_SELF'], 'wiki') !== false)
394 {
395 return $_SERVER['PHP_SELF'];
396 } else {
397 return '/';
398 }
394 } else { 399 } else {
395 if ($_GET['area'] == 'blog') 400 if ($_GET['area'] == 'blog')
396 { 401 {