From 3eeab79a75b3bba95f4a9e9a2a239f34e8da7c2b Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 3 Nov 2003 20:59:40 +0000 Subject: 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 --- admin/include/isadmin.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'admin/include') 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 '
'.$lang['access_forbiden'].'
'; - echo ''.$lang['ident_title'].'
'; + echo ''.$lang['ident_title'].''; exit(); } ?> \ No newline at end of file -- cgit v1.2.3