forked from ZwiiCMS-Team/ZwiiCMS
warning chargement de feuille de style de module absente
This commit is contained in:
parent
0eaabc5f64
commit
be1a9515df
@ -2982,10 +2982,11 @@ class core extends common {
|
||||
'style' => file_get_contents($stylePath)
|
||||
]);
|
||||
}
|
||||
if ($output['style']) {
|
||||
$this->addOutput([
|
||||
'style' => $this->output['style'] . file_get_contents($output['style'])
|
||||
]);
|
||||
if ($output['style'] &&
|
||||
file_exists($output['style'])) {
|
||||
$this->addOutput([
|
||||
'style' => $this->output['style'] . file_get_contents($output['style'])
|
||||
]);
|
||||
}
|
||||
// JS
|
||||
$scriptPath = $modulePath . 'module/' . $moduleId . '/view/' . $output['view'] . '/' . $output['view'] . '.js.php';
|
||||
|
Loading…
Reference in New Issue
Block a user