MyBB Community Forums

Full Version: Install dir locked check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Issnt it better to check like this in global.php and admin/global.php:

if(is_dir("install") and is_executable("install") and !file_exists("install/lock"))
{
	$mybb->trigger_generic_error("install_directory");
}

I only change many times the permissions for files/folders - if I need it later again. Big Grin