mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
Commit, still no internet paying for it.. curse you free.fr
This commit is contained in:
parent
14019e88c5
commit
f593f18131
77 changed files with 1261 additions and 1340 deletions
|
@ -199,12 +199,22 @@ function check_putenv() {
|
|||
if (!ini_set(memory_limit,$new_limit)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Make sure it actually worked
|
||||
$current = ini_get('memory_limit');
|
||||
|
||||
if ($new_limit != $current) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Check if safe mode is on */
|
||||
if (ini_get('safe_mode')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// See if we can override the set_time_limit();
|
||||
|
||||
|
||||
return true;
|
||||
|
||||
} // check_putenv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue