diff options
| author | polo <ordipolo@gmx.fr> | 2022-07-19 13:43:33 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2022-07-19 13:43:33 +0200 |
| commit | 66ee0f5f5416aed9f7a7264f18ae6bdf4c8ed50f (patch) | |
| tree | 6ac70ed4c4df9b60ef19b0f720ff04ddbde6ef8f /controller/installation.php | |
| parent | ed5df18ed28a338ecd763e6492991ccbf5e23eb0 (diff) | |
| download | melaine-66ee0f5f5416aed9f7a7264f18ae6bdf4c8ed50f.tar.gz melaine-66ee0f5f5416aed9f7a7264f18ae6bdf4c8ed50f.tar.bz2 melaine-66ee0f5f5416aed9f7a7264f18ae6bdf4c8ed50f.zip | |
miniatures articles 1
Diffstat (limited to 'controller/installation.php')
| -rw-r--r-- | controller/installation.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/controller/installation.php b/controller/installation.php index b2a687c..3745189 100644 --- a/controller/installation.php +++ b/controller/installation.php | |||
| @@ -77,6 +77,15 @@ function installation() | |||
| 77 | { | 77 | { |
| 78 | createIndexPHP('data/' . $page . '/html/index.php', $droitsFichiers); | 78 | createIndexPHP('data/' . $page . '/html/index.php', $droitsFichiers); |
| 79 | } | 79 | } |
| 80 | if(!file_exists('data/' . $page . '/html-mini-images')) | ||
| 81 | { | ||
| 82 | mkdir('data/' . $page . '/html-mini-images'); | ||
| 83 | chmod('data/' . $page . '/html-mini-images', $droitsDossiers); | ||
| 84 | } | ||
| 85 | if(!file_exists('data/' . $page . '/html-mini-images/index.php')) | ||
| 86 | { | ||
| 87 | createIndexPHP('data/' . $page . '/html-mini-images/index.php', $droitsFichiers); | ||
| 88 | } | ||
| 80 | if(!file_exists('data/' . $page . '/images')) | 89 | if(!file_exists('data/' . $page . '/images')) |
| 81 | { | 90 | { |
| 82 | mkdir('data/' . $page . '/images'); | 91 | mkdir('data/' . $page . '/images'); |
