diff --git a/VERSIONS_HOTLINE/38716 b/VERSIONS_HOTLINE/38716 new file mode 100644 index 0000000000000000000000000000000000000000..74fe60cd5b84f68bc5c27dbfe6b20d6af47056d1 --- /dev/null +++ b/VERSIONS_HOTLINE/38716 @@ -0,0 +1 @@ + - ticket #38716 : correction du répertoire de sauvegarde des images de captcha \ No newline at end of file diff --git a/library/startup.php b/library/startup.php index aff2c991e5612d3ee67d6fb000745579802dc585..fdcb6cb74c044a6b14f2939625b9a4c911b7acb2 100644 --- a/library/startup.php +++ b/library/startup.php @@ -110,8 +110,8 @@ function setupConstants() { defineConstant('PATH_ADMIN_SUPPORTS', ROOT_PATH . 'public/admin/images/supports/'); defineConstant('PATH_FONTS', ROOT_PATH . 'public/opac/fonts/'); - defineConstant('URL_CAPTCHA', BASE_URL . '/public/captcha/'); - defineConstant('PATH_CAPTCHA', ROOT_PATH . 'public/captcha/'); + defineConstant('URL_CAPTCHA', BASE_URL . '/temp/'); + defineConstant('PATH_CAPTCHA', PATH_TEMP); defineConstant('CACHE_LIFETIME', 3600); defineConstant('MEMCACHED_ENABLE', false); defineConstant('MEMCACHED_HOST', 'localhost');