phpmyfaq/inc/PMF/Installer.php 1 location
|
@@ 521-524 (lines=4) @@
|
518 |
|
*/ |
519 |
|
public function checkNoncriticalSettings() |
520 |
|
{ |
521 |
|
if ((@ini_get('safe_mode') == 'On' || @ini_get('safe_mode') === 1)) { |
522 |
|
echo '<p class="alert alert-error">The PHP safe mode is enabled. You may have problems when phpMyFAQ tries to write ' . |
523 |
|
' in some directories.</p>'; |
524 |
|
} |
525 |
|
if (! extension_loaded('gd')) { |
526 |
|
echo '<p class="alert alert-error">You don\'t have GD support enabled in your PHP installation. Please enable GD ' . |
527 |
|
'support in your php.ini file otherwise you can\'t use Captchas for spam protection.</p>'; |
phpmyfaq/install/setup.php 1 location
|
@@ 43-45 (lines=3) @@
|
40 |
|
define('DEBUG', true); |
41 |
|
} |
42 |
|
|
43 |
|
if ((@ini_get('safe_mode') != 'On' || @ini_get('safe_mode') !== 1)) { |
44 |
|
set_time_limit(0); |
45 |
|
} |
46 |
|
|
47 |
|
session_name('phpmyfaq-setup'); |
48 |
|
session_start(); |
phpmyfaq/install/update.php 1 location
|
@@ 26-28 (lines=3) @@
|
23 |
|
define('PMF_ROOT_DIR', dirname(dirname(__FILE__))); |
24 |
|
define('IS_VALID_PHPMYFAQ', null); |
25 |
|
|
26 |
|
if ((@ini_get('safe_mode') != 'On' || @ini_get('safe_mode') !== 1)) { |
27 |
|
set_time_limit(0); |
28 |
|
} |
29 |
|
|
30 |
|
if (version_compare(PHP_VERSION, '5.3.3') < 0) { |
31 |
|
die("Sorry, but you need PHP 5.3.3 or later!"); // Die hard because of "use" |