Admin part in coding review status.

git-svn-id: http://piwigo.org/svn/trunk@1663 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2006-12-16 09:40:59 +00:00
parent 0bd0969499
commit a4473e8201
2 changed files with 44 additions and 16 deletions
-16
View File
@@ -145,25 +145,9 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
check_status(ACCESS_ADMINISTRATOR);
// FIXME would be in migration process but could stay here
// Config parameters
if (!isset($conf['ws_status']))
{
$conf['ws_status'] = false;
$query = '
INSERT INTO '.CONFIG_TABLE.'
(param,value,comment)
VALUES
(\'ws_status\', \'false\', \'Web Service status\' )
;';
pwg_query($query);
}
// accepted queries
$req_type_list = official_req();
//--------------------------------------------------------- update informations
// Is status temporary changed?