Dit is een lijst met files waarin safe_mode checks voorkomen, heb nu ff geen tijd op te zoeken wat precies wat is.
Code: Selecteer alles
phpbb:/var/www/paulscripts.nl/www/phpBB3$ grep -ir safe_mode ./
./adm/index.php:$safe_mode = (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') ? true : false;
./includes/acp/acp_language.php: global $safe_mode, $file_uploads;
./includes/acp/acp_language.php: if (!$safe_mode)
./includes/acp/acp_language.php: global $phpbb_root_path, $safe_mode;
./includes/acp/acp_language.php: $check_store_filename = ($safe_mode) ? "store/langfile_{$lang_iso}" . (($directory) ? '_' . $director
y : '') . "_{$filename}" : "store/language/$lang_iso/" . (($directory) ? $directory . '/' : '') . $filename;
./includes/acp/acp_styles.php: global $phpbb_root_path, $phpEx, $config, $db, $cache, $user, $template, $safe_mode;
./includes/acp/acp_styles.php: if (!$safe_mode && !$template_info['template_storedb'] && file_exists($file) && @is_writable($file))
./includes/acp/acp_styles.php: global $phpbb_root_path, $phpEx, $config, $db, $cache, $user, $template, $safe_mode;
./includes/acp/acp_styles.php: if (!$safe_mode && !$theme_info['theme_storedb'] && file_exists($file) && @is_writable($file))
./includes/acp/acp_styles.php: global $template, $db, $config, $user, $safe_mode, $cache, $phpbb_root_path;
./includes/acp/acp_styles.php: if (($style_row["{$mode}_storedb"] != $store_db) && !$store_db && ($safe_mode || !@is_writable($check
)))
./includes/acp/acp_styles.php: else if (!$store_db && !$safe_mode && @is_writable("{$phpbb_root_path}styles/{$style_
row['theme_path']}/theme/stylesheet.css"))
./includes/acp/acp_styles.php: if (!$store_db && !$safe_mode && @is_writable("{$phpbb_root_path}styles/{$style_row['
template_path']}/template"))
./includes/functions.php: if (substr(PHP_OS, 0, 3) != 'WIN' && !(bool) ini_get('safe_mode') && function_exists('shell_exec') && trim(`realpath .`))
./includes/functions.php: // This is correct realpath() behaviour but sadly open_basedir and safe_mode make this proble
matic
./includes/functions_posting.php: if (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on')
./includes/functions_upload.php: $upload_mode = (@ini_get('open_basedir') || @ini_get('safe_mode')) ? 'move' : 'copy';
./includes/functions_upload.php: $tmp_path = (!@ini_get('safe_mode')) ? false : $phpbb_root_path . 'cache';
./includes/functions_install.php: return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower
(@ini_get('safe_mode')) == 'off') && @dl($dll . ".$suffix")) ? true : false;
./language/en/acp/board.php: 'APACHE_SETUP_BEFORE_USE' => 'You have to setup apache authentication before you switch phpBB to this authentication me
thod. Keep in mind that the username you use for apache authentication has to be the same as your phpBB username. Apache authentication can only be used with
mod_php (not with a CGI version) and safe_mode disabled.',
./language/en/install.php: 'PHP_SAFE_MODE' => 'Safe mode',