diff options
Diffstat (limited to 'includes/functions.php')
| -rwxr-xr-x | includes/functions.php | 7 |
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 | { |
