Файл: EasyHost v2.0/system/htdocs/admin/system/service.pl
Строк: 15
<?php
$system->error('This feature has been disabled in demo mode') if $system->config('demo');
my $replace = $system->db->prepare('REPLACE INTO config VALUES (?,?)');
my $delete = $system->db->prepare('DELETE FROM config WHERE name = ?');
foreach ('title','email','enable_create','enable_password','logout_redirect')
{
if (length $system->param('conf_'.$_) > 0)
{
$replace->execute($_,$system->param('conf_'.$_));
}
else
{
$delete->execute($_);
}
}
$replace->finish;
$delete->finish;
$system->redirect('finish');
?>