aboutsummaryrefslogtreecommitdiffstats
path: root/admin/update.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-09-11 10:36:03 +0000
committergweltas <gweltas@piwigo.org>2004-09-11 10:36:03 +0000
commitc6e6f131fa83da48d6e96645767d3d124cf82e19 (patch)
tree634bd1f298f05070857389d99162bd1996d7aa3a /admin/update.php
parenteaad1d61d71e48359fe7b3abfdd91f27f5f33a1b (diff)
waiting tpl migration
git-svn-id: http://piwigo.org/svn/trunk@520 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/update.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/update.php b/admin/update.php
index 627af7812..42683f3cd 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -25,6 +25,10 @@
// | USA. |
// +-----------------------------------------------------------------------+
+if( !defined("PHPWG_ROOT_PATH") )
+{
+ die ("Hacking attempt!");
+}
include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');
define('CURRENT_DATE', "'".date('Y-m-d')."'");