Index: trunk/kernel/include/image.php
===================================================================
diff -u -r271 -r289
--- trunk/kernel/include/image.php (.../image.php) (revision 271)
+++ trunk/kernel/include/image.php (.../image.php) (revision 289)
@@ -201,8 +201,7 @@
$parts = pathinfo($file["name"]);
$ext = strtolower($parts["extension"]);
- if((int)$_GLOBALS["debuglevel"])
- echo "Processing ".$file["tmp_name"]."
\n";
+ if( $GLOBALS['debuglevel'] ) echo "Processing ".$file["tmp_name"]."
\n";
if($rewrite_name==1)
{
@@ -216,8 +215,7 @@
$filename = $file["name"];
}
$destination = $pathtoroot.$Dest_Dir.$filename;
- if((int)$_GLOBALS["debuglevel"])
- echo $file["tmp_name"]."=>".$destination."
\n";
+ if( $GLOBALS['debuglevel'] ) echo $file["tmp_name"]."=>".$destination."
\n";
if(IsUpload==TRUE)
{
$result = @move_uploaded_file($file["tmp_name"],$destination);