Search 2.1 config vide
This commit is contained in:
parent
ffe62bbbf9
commit
27c91356fb
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
class search extends common {
|
class search extends common {
|
||||||
|
|
||||||
const VERSION = '2.0';
|
const VERSION = '2.1';
|
||||||
const REALNAME = 'Recherche';
|
const REALNAME = 'Recherche';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = '0.0';
|
const UPDATE = '0.0';
|
||||||
@ -104,6 +104,8 @@ class search extends common {
|
|||||||
// Données de thème
|
// Données de thème
|
||||||
$this->setData(['module', $this->getUrl(0), 'theme',init::$defaultTheme ]);
|
$this->setData(['module', $this->getUrl(0), 'theme',init::$defaultTheme ]);
|
||||||
$this->setData(['module', $this->getUrl(0), 'theme', 'style', self::DATADIRECTORY . 'pages/' . $this->getUrl(0) . '/theme.css' ]);
|
$this->setData(['module', $this->getUrl(0), 'theme', 'style', self::DATADIRECTORY . 'pages/' . $this->getUrl(0) . '/theme.css' ]);
|
||||||
|
// Recharger la page pour éviter une config vide
|
||||||
|
header("Refresh:0");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dossier de l'instance
|
// Dossier de l'instance
|
||||||
@ -120,6 +122,7 @@ class search extends common {
|
|||||||
// Stocker le nom de la feuille de style
|
// Stocker le nom de la feuille de style
|
||||||
$this->setData(['module', $this->getUrl(0) , 'theme', 'style', $fileCSS]);
|
$this->setData(['module', $this->getUrl(0) , 'theme', 'style', $fileCSS]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user