From 11c2e5805334a637a4e304c27d0fdcf709e24772 Mon Sep 17 00:00:00 2001 From: gweltas Date: Wed, 25 Aug 2004 22:25:58 +0000 Subject: - 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 --- admin/infos_images.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'admin/infos_images.php') 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; -- cgit v1.2.3