diff options
Diffstat (limited to 'it_auto_prepend.php')
-rw-r--r-- | it_auto_prepend.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/it_auto_prepend.php b/it_auto_prepend.php index 472a016..87ec0a0 100644 --- a/it_auto_prepend.php +++ b/it_auto_prepend.php @@ -85,7 +85,7 @@ function it_initialize() if ($needsconvert) it_convert($include); - if (file_exists($autoprepend = "$include/auto_prepend.php")) + if (@file_exists($autoprepend = "$include/auto_prepend.php")) { if ($needsconvert && ($include != $it_path)) $autoprepend = it_convert($autoprepend); @@ -118,12 +118,12 @@ function it_initialize() function it_convert($source) { - if (is_dir($source) && !is_link($source)) + if (@is_dir($source) && !@is_link($source)) { foreach (glob("$source/*") as $file) it_convert($file); } - else if (is_readable($source)) + else if (@is_readable($source)) { $converted = $GLOBALS['IT_SYNTAXCONVERTER_DIR'] . "/it_syntaxconverter/$source"; |