aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-07-19 20:03:17 +0000
committerrub <rub@piwigo.org>2007-07-19 20:03:17 +0000
commit027d0c8846615019dafb59440f7245aab0ada28d (patch)
tree3cfc9561e3db6382eb571f80948869fa17f56dc4 /admin.php
parent2221b4e4e6102517b5c35bffd652d7247602913b (diff)
Resolved issue 0000725: Check integrity
Replace actual test (exif) by a new dynamic system of check integrity. Anomalies are listed with automatic correction if it's possible. Merge BSF 2064:2066 into branch-1_7 git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2067 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/admin.php b/admin.php
index dc848ab49..004bac218 100644
--- a/admin.php
+++ b/admin.php
@@ -44,12 +44,6 @@ check_status(ACCESS_ADMINISTRATOR);
sync_users();
// +-----------------------------------------------------------------------+
-// | Check configuration and add notes on problem |
-// +-----------------------------------------------------------------------+
-
-check_conf();
-
-// +-----------------------------------------------------------------------+
// | variables init |
// +-----------------------------------------------------------------------+
@@ -67,6 +61,13 @@ else
$page['errors'] = array();
$page['infos'] = array();
+
+if ($page['page'] == 'intro')
+{
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions_check_integrity.inc.php');
+ check_integrity();
+}
+
$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
$conf_link = $link_start.'configuration&amp;section=';
//----------------------------------------------------- template initialization