mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-21 15:16:37 +02:00
Cas de l'absence de configuration REVERSE_PROXY_URL
This commit is contained in:
parent
f04e30d81d
commit
4119b7a6b9
3
app.php
3
app.php
|
@ -13,6 +13,9 @@ $f3->set('UPLOADS', sys_get_temp_dir()."/");
|
|||
$f3->set('COMMIT', getCommit());
|
||||
|
||||
$f3->config(__DIR__.'/config/config.ini');
|
||||
if (!$f3->exists('REVERSE_PROXY_URL')) {
|
||||
$f3->set('REVERSE_PROXY_URL', '');
|
||||
}
|
||||
|
||||
if($f3->get('PDF_STORAGE_PATH') && !preg_match('|/$|', $f3->get('PDF_STORAGE_PATH'))) {
|
||||
$f3->set('PDF_STORAGE_PATH', $f3->get('PDF_STORAGE_PATH').'/');
|
||||
|
|
Loading…
Reference in a new issue