23 lines
730 B
PHP
Executable File
23 lines
730 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if (isset($adminThemeCSS)) {
|
|
$reqUpdate="UPDATE `param` SET val=" .$_SESSION['adminThemeCSS']. " WHERE id=2; ";
|
|
$resConn='';
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if (isset($debug[2]) && $debug[2] == '1' ) $admMsg .= '<b>reqUpdate theme Admin==></b> ' .$reqUpdate. '';
|
|
|
|
if ($resConn) {
|
|
$admMsg .= " Mise à jour theme Admin effectuée avec succès !"; $admMsgClass='ok';
|
|
}
|
|
else {
|
|
$admMsg .= " Echec de la mise à jour theme Admin (fichier majThemeAdmin.php) ";
|
|
if (isset($debug[2]) && $debug[2] == '1' ) $admMsg.=$reqUpdate;
|
|
$admMsgClass='ko';
|
|
}
|
|
}
|
|
else {
|
|
$admMsg .= "adminThemeCss vide (fichier majThemeAdmin.php) ";
|
|
$admMsgClass='ko';
|
|
}
|
|
?>
|