From ade00c95c26eefbd60b5f9f3efc2f848a196cf3e Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 10 Mar 2006 20:17:18 +0000 Subject: Step 4 improvement issue 0000301: o Correction lock categories and is_admin (functions with parameters now) o Cannot use check_status with upgrade.php and upgrade_feed.php => New function check_upgrade use in upgrade*.php (new functionality for upgrade_feed.php) o upgrade_feed.php is showed only for administrator user git-svn-id: http://piwigo.org/svn/trunk@1075 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions_upgrade.php | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 admin/include/functions_upgrade.php (limited to 'admin/include/functions_upgrade.php') diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php new file mode 100644 index 000000000..1646ce7e3 --- /dev/null +++ b/admin/include/functions_upgrade.php @@ -0,0 +1,44 @@ + +define(\'PHPWG_IN_UPGRADE\', true); + +if you want to upgrade'; + die($message); + } +} + + +?> -- cgit v1.2.3