fixed PHP environment variables
This commit is contained in:
parent
5802f0adf2
commit
ac886f3c79
@ -0,0 +1,6 @@
|
|||||||
|
memory_limit = 512M
|
||||||
|
max_execution_time = 0
|
||||||
|
set_time_limit = 0
|
||||||
|
display_errors = 0
|
||||||
|
max_input_time = 50000
|
||||||
|
default_socket_timeout = 50000
|
||||||
12
sc.php
12
sc.php
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Moved to the README.md*/
|
/* Moved to the README.md*/
|
||||||
|
|
||||||
$version = "v4.0.2";
|
$version = "v4.0.3";
|
||||||
$released = "November/16";
|
$released = "May/17";
|
||||||
$author = "Malin Cenusa";
|
$author = "Malin Cenusa";
|
||||||
$mail = "malin.cenusa@lunarpages.com";
|
$mail = "malin.cenusa@lunarpages.com";
|
||||||
$ip = "84.124.94.176";
|
$ip = "84.124.94.176";
|
||||||
@ -150,14 +150,6 @@ body{
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/* setting the PHP environment variables */
|
|
||||||
ini_set('memory_limit', '512M');
|
|
||||||
ini_set('max_execution_time', '0'); // supress problems with timeouts
|
|
||||||
ini_set('set_time_limit', '0'); // supress problems with timeouts
|
|
||||||
ini_set('display_errors', '0'); // show/hide errors
|
|
||||||
ini_set("max_input_time", '50000');
|
|
||||||
ini_set('default_socket_timeout', '50000');
|
|
||||||
|
|
||||||
/* let's define the paths first */
|
/* let's define the paths first */
|
||||||
$GLOBALS["userdir"] = system('whoami');
|
$GLOBALS["userdir"] = system('whoami');
|
||||||
$GLOBALS["public_html"] = '/home/'.$GLOBALS["userdir"].'/public_html';
|
$GLOBALS["public_html"] = '/home/'.$GLOBALS["userdir"].'/public_html';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user