forked from ZwiiCMS-Team/ZwiiCMS
Creation du theme dans un dossier
This commit is contained in:
parent
a9cc7df0a2
commit
f046a4577d
@ -501,7 +501,8 @@ class theme extends common {
|
|||||||
// Make zip
|
// Make zip
|
||||||
$zipFilename = $this->makezip();
|
$zipFilename = $this->makezip();
|
||||||
// Téléchargement du ZIP
|
// Téléchargement du ZIP
|
||||||
copy ('site/tmp/' . $zipFilename , 'site/file/source/' . $zipFilename);
|
mkdir('site/file/source/theme');
|
||||||
|
copy ('site/tmp/' . $zipFilename , 'site/file/source/theme/' . $zipFilename);
|
||||||
// Nettoyage du dossier
|
// Nettoyage du dossier
|
||||||
unlink ('site/tmp/' . $zipFilename);
|
unlink ('site/tmp/' . $zipFilename);
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
|
Loading…
x
Reference in New Issue
Block a user