Updating branch refs/heads/nick/gettext
to ddc7dc3ed0fbeeb773451290358ec4a68b93cf6e (commit)
from 40698da72e215eeae750352cd04bf568f3a2037d (commit)
commit ddc7dc3ed0fbeeb773451290358ec4a68b93cf6e
Author: Nick Schermer <[email protected]>
Date: Thu Sep 8 14:29:48 2011 +0200
Accept index.php as well.
lib/core.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/core.php b/lib/core.php
index 4696f19..4fbaae6 100644
--- a/lib/core.php
+++ b/lib/core.php
@@ -36,7 +36,7 @@ function lookup_page($uri)
if (basename ($uri) == 'nav')
$uri = 'foo';
- if (empty ($uri))
+ if (empty ($uri) || $uri == 'index.php')
return $root.'frontpage.php';
if (is_dir ($root.$uri))
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits