mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
Setup default php settings
This commit is contained in:
parent
4e6571691d
commit
aa7e198f3c
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
if (defined('APP_VERSION'))
|
if (defined('APP_VERSION'))
|
||||||
{
|
{
|
||||||
|
@ini_set('register_globals', 0);
|
||||||
|
@ini_set('zend.ze1_compatibility_mode', 0);
|
||||||
|
@ini_set('magic_quotes_gpc', 0);
|
||||||
|
@ini_set('magic_quotes_runtime', 0);
|
||||||
|
|
||||||
if (isset($_ENV['RAINLOOP_INCLUDE_AS_VERSION']) && $_ENV['RAINLOOP_INCLUDE_AS_VERSION'])
|
if (isset($_ENV['RAINLOOP_INCLUDE_AS_VERSION']) && $_ENV['RAINLOOP_INCLUDE_AS_VERSION'])
|
||||||
{
|
{
|
||||||
$_ENV['RAINLOOP_INCLUDE_AS_VERSION'] = false;
|
$_ENV['RAINLOOP_INCLUDE_AS_VERSION'] = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue