diff options
author | rub <rub@piwigo.org> | 2008-03-01 13:23:51 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-03-01 13:23:51 +0000 |
commit | f54877ca04e9e99e67b94f7c486229d4c6543a8a (patch) | |
tree | ccb84fee846e2d0809552840b867c30804ab548f /admin/intro.php | |
parent | 35076ee1b9e32618d3c92bdd8aee20f2c4abb694 (diff) |
0000809: Use more php classes implementation
Use class for c13y
git-svn-id: http://piwigo.org/svn/trunk@2232 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/intro.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/admin/intro.php b/admin/intro.php index 03c5e8f9b..ae640e2f4 100644 --- a/admin/intro.php +++ b/admin/intro.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ // | file : $Id$ // | last update : $Date$ @@ -30,6 +30,8 @@ if (!defined('PHPWG_ROOT_PATH')) } include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); +include_once(PHPWG_ROOT_PATH.'admin/include/check_integrity.class.php'); +include_once(PHPWG_ROOT_PATH.'admin/include/c13y_internal.class.php'); // +-----------------------------------------------------------------------+ // | Check Access and exit when user status is not ok | @@ -271,13 +273,19 @@ if ($nb_comments > 0) // Add the PhpWebGallery Official menu $template->assign( 'pwgmenu', pwg_URL() ); - + // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ $template->assign_var_from_handle('ADMIN_CONTENT', 'intro'); -display_check_integrity(); +// Check integrity +$c13y = new check_integrity(); +// add internal checks +new c13y_internal(); +// check and display +$c13y->check(); +$c13y->display(); ?> |