diff options
author | rub <rub@piwigo.org> | 2007-07-18 22:48:50 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-07-18 22:48:50 +0000 |
commit | b879e1742485db53da3edad98be036791bfd1bbf (patch) | |
tree | e056e514016bec1c2b23911b05c5cc54e8580821 /admin.php | |
parent | ec6395c91169af249bd31d8eb06e103413cff749 (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.
It's a proposition of new feature!
git-svn-id: http://piwigo.org/svn/trunk@2065 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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&section='; //----------------------------------------------------- template initialization |