@@ 42-44 (lines=3) @@ | ||
39 | define('DEBUG', true); |
|
40 | } |
|
41 | ||
42 | if ((@ini_get('safe_mode') != 'On' || @ini_get('safe_mode') !== 1)) { |
|
43 | set_time_limit(0); |
|
44 | } |
|
45 | ||
46 | session_name('phpmyfaq-setup'); |
|
47 | session_start(); |
@@ 519-522 (lines=4) @@ | ||
516 | */ |
|
517 | public function checkNoncriticalSettings() |
|
518 | { |
|
519 | if ((@ini_get('safe_mode') == 'On' || @ini_get('safe_mode') === 1)) { |
|
520 | echo '<p class="alert alert-danger">The PHP safe mode is enabled. You may have problems when phpMyFAQ tries to write '. |
|
521 | ' in some directories.</p>'; |
|
522 | } |
|
523 | if (!extension_loaded('gd')) { |
|
524 | echo '<p class="alert alert-danger">You don\'t have GD support enabled in your PHP installation. Please enable GD '. |
|
525 | 'support in your php.ini file otherwise you can\'t use Captchas for spam protection.</p>'; |