1
0
Fork 0
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:
Karl 'vollmerk' Vollmer 2008-10-27 09:24:34 +00:00
parent 14019e88c5
commit f593f18131
77 changed files with 1261 additions and 1340 deletions

View file

@ -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