diff options
Diffstat (limited to 'controller/config.php')
-rw-r--r-- | controller/config.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/controller/config.php b/controller/config.php index 47b85f9..067d89b 100644 --- a/controller/config.php +++ b/controller/config.php | |||
@@ -15,8 +15,9 @@ $storage = 'files'; | |||
15 | // Racine du site (inutile pour l'instant) | 15 | // Racine du site (inutile pour l'instant) |
16 | //$root = getcwd(); | 16 | //$root = getcwd(); |
17 | 17 | ||
18 | // nom de domaine (inutile pour l'instant) | 18 | // nom de domaine (utilisé pour créer des liens absolus) |
19 | //$host = $_SERVER['HTTP_HOST']; | 19 | // depuis une fonction, faire un: 'global $host;' |
20 | $host = 'http://' . $_SERVER['HTTP_HOST']; | ||
20 | 21 | ||
21 | // bibliothèque utilisée pour créer les miniatures | 22 | // bibliothèque utilisée pour créer les miniatures |
22 | if(extension_loaded("imagick")) // on préfère imagemagick | 23 | if(extension_loaded("imagick")) // on préfère imagemagick |