can('customiser','configure')) throw new Exception("Permissions insuffisantes",403); if(file_exists(__DIR__.SLASH.'css'.SLASH.'theme.css')) unlink(__DIR__.SLASH.'css'.SLASH.'theme.css'); header('location: setting.php?section=global.customiser'); break; case 'customiser_theme_save': Action::write(function(&$response){ global $myUser,$_,$conf; if(!$myUser->can('customiser','configure')) throw new Exception("Permissions insuffisantes",403); $conf->put('core_theme',$_['theme']); }); break; } ?>