diff options
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'); |