/** * Check Apache can write to the required directories * */ static function checkDirPermissionsPost() { global $string; self::$rogo_path = str_ireplace('/install/index.php', '', normalise_path($_SERVER['SCRIPT_FILENAME'])); $errors = array(); //tmp if (!is_writable($_POST['tmpdir'])) { $errors['100'] = sprintf($string['errors3'], $_POST['tmpdir']); } if (count($errors) > 0) { self::displayError($errors); } }