mirror of
https://github.com/24eme/signaturepdf
synced 2024-06-01 05:22:23 +02:00
Allow the use of the project in an iframe
This commit is contained in:
parent
d2f773a91d
commit
8495642ab8
1
app.php
1
app.php
|
@ -6,6 +6,7 @@ if(getenv("DEBUG")) {
|
||||||
$f3->set('DEBUG', getenv("DEBUG"));
|
$f3->set('DEBUG', getenv("DEBUG"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$f3->set('XFRAME', null); // Allow use in an iframe
|
||||||
$f3->set('ROOT', __DIR__);
|
$f3->set('ROOT', __DIR__);
|
||||||
$f3->set('UI', $f3->get('ROOT')."/templates/");
|
$f3->set('UI', $f3->get('ROOT')."/templates/");
|
||||||
$f3->set('UPLOADS', sys_get_temp_dir()."/");
|
$f3->set('UPLOADS', sys_get_temp_dir()."/");
|
||||||
|
|
Loading…
Reference in a new issue