diff --git a/config/configure.php b/config/configure.php index 201331b77..597676b67 100644 --- a/config/configure.php +++ b/config/configure.php @@ -75,11 +75,10 @@ elseif(isset($opts->install)) passthru('ln -s '.APPLICATION_PATH.'/../public/themes/default/scripts '. APPLICATION_PATH.'/../cache/pages/themes/default/scripts'); - - $config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'path'); - - passthru('ln -s '.realpath($config->data).' '.APPLICATION_PATH.'/../cache/pages/fichier/imgcache'); + passthru('ln -s '.APPLICATION_PATH.'/../cache/pages/imgcache'.' '. + APPLICATION_PATH.'/../cache/pages/fichier/imgcache'); + $config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'path'); $path = realpath($config->data).'/'.$config->logos; passthru('ln -s '.$path.' '.APPLICATION_PATH.'/../cache/pages/fichier/logo');