changeset 630:b84fc6e7847e

Suppress PHP errors.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Nov 2014 07:11:13 +0200
parents 894a4a6bfb5f
children 759323b00be3
files managedb.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/managedb.php	Sat Nov 01 07:03:10 2014 +0200
+++ b/managedb.php	Sat Nov 01 07:11:13 2014 +0200
@@ -496,7 +496,7 @@
 //
 foreach (array("managedb.php", "wanktool.php") as $filename)
 {
-  if (chmod($filename, 0700) === FALSE)
+  if (@chmod($filename, 0700) === FALSE)
   {
     echo "ERROR! Could not set permissions for '".$filename."'!\n";
   }