aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/cat_list.php2
-rw-r--r--admin/cat_modify.php2
-rw-r--r--admin/cat_perm.php2
-rw-r--r--admin/comments.php2
-rw-r--r--admin/configuration.php2
-rw-r--r--admin/group_list.php2
-rw-r--r--admin/group_perm.php2
-rw-r--r--admin/help.php2
-rw-r--r--admin/include/isadmin.inc.php12
-rw-r--r--admin/infos_images.php2
-rw-r--r--admin/picture_modify.php2
-rw-r--r--admin/stats.php2
-rw-r--r--admin/thumbnail.php2
-rw-r--r--admin/update.php2
-rw-r--r--admin/user_list.php2
-rw-r--r--admin/user_modify.php2
-rw-r--r--admin/user_perm.php2
-rw-r--r--admin/waiting.php2
18 files changed, 23 insertions, 23 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 0c0182f12..706dce2ac 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -17,7 +17,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_list.vtp' );
$tpl = array( 'cat_edit','cat_up','cat_down','cat_image_info',
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 2febea3d4..ad0911a0c 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_modify.vtp' );
$tpl = array( 'remote_site','editcat_confirm','editcat_back','editcat_title1',
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 43792227d..81d9f9945 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_perm.vtp' );
$error = array();
diff --git a/admin/comments.php b/admin/comments.php
index ba0948425..9c9ec1096 100644
--- a/admin/comments.php
+++ b/admin/comments.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
$page['plain_structure'] = get_plain_structure();
//------------------------------------------------------------------- functions
function display_pictures( $mysql_result, $maxtime, $validation_box = false )
diff --git a/admin/configuration.php b/admin/configuration.php
index bab200195..3ccbd6573 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
$Caracs = array("¥" => "Y", "µ" => "u", "À" => "A", "Á" => "A",
"Â" => "A", "Ã" => "A", "Ä" => "A", "Å" => "A",
diff --git a/admin/group_list.php b/admin/group_list.php
index 683b593f0..871df6a6a 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_list.vtp' );
$tpl = array( 'group_add','add','listuser_permission','delete',
diff --git a/admin/group_perm.php b/admin/group_perm.php
index 52460fc47..85d92a65b 100644
--- a/admin/group_perm.php
+++ b/admin/group_perm.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_perm.vtp' );
$error = array();
diff --git a/admin/help.php b/admin/help.php
index f59b23897..931049c80 100644
--- a/admin/help.php
+++ b/admin/help.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/help.vtp' );
$tpl = array( );
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
diff --git a/admin/infos_images.php b/admin/infos_images.php
index 18dc96b33..342b43d45 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
//-------------------------------------------------------------- initialization
check_cat_id( $_GET['cat_id'] );
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 96e54e3d8..b6bfadc19 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------- categories structure initialization
$page['plain_structure'] = get_plain_structure();
//--------------------------------------------------------- update informations
diff --git a/admin/stats.php b/admin/stats.php
index ba6965741..08b8f5de0 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
$max_pixels = 500;
//------------------------------------------------------------ comment deletion
if ( isset( $_GET['del'] ) and is_numeric( $_GET['del'] ) )
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index 856222a2c..5f2774d6c 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//------------------------------------------------------------------- functions
// get_subdirs returns an array containing all sub directory names,
// excepting : '.', '..' and 'thumbnail'.
diff --git a/admin/update.php b/admin/update.php
index ecff8c176..c19dc7219 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -17,7 +17,7 @@
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//------------------------------------------------------------------- functions
function insert_local_category( $cat_id )
{
diff --git a/admin/user_list.php b/admin/user_list.php
index 92020cd67..e8b6bb34b 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_list.vtp' );
$tpl = array( 'listuser_confirm','listuser_modify_hint','listuser_modify',
diff --git a/admin/user_modify.php b/admin/user_modify.php
index d11858df5..e49d3b3b0 100644
--- a/admin/user_modify.php
+++ b/admin/user_modify.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_modify.vtp' );
$error = array();
diff --git a/admin/user_perm.php b/admin/user_perm.php
index fdca628f7..d272552ae 100644
--- a/admin/user_perm.php
+++ b/admin/user_perm.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_perm.vtp' );
$error = array();
diff --git a/admin/waiting.php b/admin/waiting.php
index 5d342052e..aefb6e9d8 100644
--- a/admin/waiting.php
+++ b/admin/waiting.php
@@ -16,7 +16,7 @@
* the Free Software Foundation; *
* *
***************************************************************************/
-include_once( './include/isadmin.inc.php' );
+include_once( './admin/include/isadmin.inc.php' );
//--------------------------------------------------------------------- updates
if ( isset( $_POST['submit'] ) )
{