suppress warnings if acces is not allowed

main
hecht 13 years ago
parent 6a064dbc7e
commit 106d4f0797

@ -18,7 +18,7 @@ if(!defined('ROOT_PATH')) {
if($url_path != null) {
$url_path = substr($url_path,0,strrpos($url_path,'/'));
}
if(is_dir($actual_path . '/include/config')) {
if(@is_dir($actual_path . '/include/config')) {
define('ROOT_PATH', $actual_path);
if($url_path != null) {
define('ROOT_URL', $url_path);

Loading…
Cancel
Save