Update of /cvsroot/php-blog/jBlog
In directory sc8-pr-cvs1:/tmp/cvs-serv14949
Modified Files:
index.php
Log Message:
add a shortcut for the administration section
Index: index.php
===================================================================
RCS file: /cvsroot/php-blog/jBlog/index.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- index.php 7 Mar 2003 03:40:11 -0000 1.6
+++ index.php 11 Mar 2003 19:05:18 -0000 1.7
@@ -82,6 +82,8 @@
print $data;
}
+} else if (preg_match('@/admin$@', $uri)) {
+ header("Location: {$jBlog['jBlogHTTPPath']}jBlog_admin.php");
} else if (preg_match('@/(index\.(php|html))?@', $uri)) {
if (count($jBlog['GET']) == 2) {
ob_start();
@@ -106,6 +108,4 @@
The document, <?=$uri?> was not found.
<?php
}
-
-
?>
|