aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-08-25 22:25:58 +0000
committergweltas <gweltas@piwigo.org>2004-08-25 22:25:58 +0000
commit11c2e5805334a637a4e304c27d0fdcf709e24772 (patch)
tree5ca4823ca75bb9d9a2d7dccd0774cbf9aa8aa4a0 /admin/infos_images.php
parentc8fb7c2e36194e1f0687c4be6689a841f2615614 (diff)
- Deletion of obsolete functions in the administrative part
- Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/infos_images.php')
-rw-r--r--admin/infos_images.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/admin/infos_images.php b/admin/infos_images.php
index c0da67aa3..0cbfb54eb 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -25,8 +25,11 @@
// | USA. |
// +-----------------------------------------------------------------------+
-include_once( './admin/include/isadmin.inc.php' );
-include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
+if( !defined("PHPWG_ROOT_PATH") )
+{
+ die ("Hacking attempt!");
+}
+include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' );
//-------------------------------------------------------------- initialization
$page['nb_image_page'] = 5;