aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-11-03 20:59:40 +0000
committerz0rglub <z0rglub@piwigo.org>2003-11-03 20:59:40 +0000
commit3eeab79a75b3bba95f4a9e9a2a239f34e8da7c2b (patch)
treec0ee45f7d509b2125ced966df10cf658ae2cedd1 /admin/include
parent718116eb30e8f0534b13275662212afc506a862c (diff)
Modifying ./include/isadmin.inc.php in ./admin/include/isadmin.inc.php since admin.php has moved to the PhpWebGallery root directory
git-svn-id: http://piwigo.org/svn/trunk@226 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/isadmin.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/include/isadmin.inc.php b/admin/include/isadmin.inc.php
index d6f8c2cc5..e064343d5 100644
--- a/admin/include/isadmin.inc.php
+++ b/admin/include/isadmin.inc.php
@@ -16,19 +16,19 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-define( PREFIX_INCLUDE, '.' );
+define( PREFIX_INCLUDE, '' );
-include_once( '../include/config.inc.php' );
-include_once( '../include/user.inc.php' );
-include( './include/functions.php' );
+include_once( './include/config.inc.php' );
+include_once( './include/user.inc.php' );
+include( './admin/include/functions.php' );
$isadmin = true;
-include_once( '../language/'.$user['language'].'.php' );
+include_once( './language/'.$user['language'].'.php' );
if ( $user['status'] != 'admin' )
{
echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
- echo '<a href="../identification.php">'.$lang['ident_title'].'</a></div>';
+ echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
exit();
}
?> \ No newline at end of file