Browse Source

Correction for open_basedir warnigs

Kays48 12 năm trước cách đây
mục cha
commit
f8f4a64d3e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Sources/Attachments.php

+ 2 - 2
Sources/Attachments.php

@@ -133,9 +133,9 @@ function automanage_attachments_create_directory($updir)
 
 	$directory .= DIRECTORY_SEPARATOR . array_shift($tree);
 
-	while (!is_dir($directory) || $count != -1)
+	while (!@is_dir($directory) || $count != -1)
 	{
-		if (!is_dir($directory))
+		if (!@is_dir($directory))
 		{
 			if (!@mkdir($directory,0755))
 			{