Index: zip_add.php
===================================================================
--- zip_add.php	(revision 962)
+++ zip_add.php	(revision 963)
@@ -1,7 +1,7 @@
 <?php
 // Add a file to the specified zip package
 
-// params: $file (string, input), $zip_file (string, input), $status (integer, output)
+// params: $file_name (string, input), $file_full_path (string, input), $zip_file (string, input), $status (integer, output)
 
 $status=0;
 
@@ -11,7 +11,7 @@
 
 $res=$zip->open($zip_file,ZipArchive::CREATE);
 if($res!==TRUE)
-    die("FAILED: Unable to create $zip_file from RayPHP");
+    die("packages: ERROR: Unable to create $zip_file from RayPHP");
 
 if ($file_full_path=="RAYDIUM_PACKAGE_READONLY")
     {
@@ -44,26 +44,26 @@
     if ($ltf["tm_isdst"]==1)
         $mtime_f=$mtime_f+mktime(0,0,0,1,1,1970,0);
 
-    $statz=$zip->statName(basename($file_full_path));
+    $statz=$zip->statName($file_name);
     $mtime_z=$statz["mtime"];
     $ltz=localtime($mtime_z,TRUE);
 
     //echo "file:".$mtime_f.":".$ltf["tm_isdst"].": === Zip:".$mtime_z.":".$ltz["tm_isdst"].": ";
     if($statz==FALSE)
         {
-        $res=$zip->addFile($file_full_path,basename($file_full_path));
-        echo basename($file_full_path)." Added to '$zip_file'";
+        $res=$zip->addFile($file_full_path,$file_name);
+        echo "packages: ".$file_name."package: Added to '$zip_file'";
         if(!$res)
-            die("FAILED: Unable to add '$file_full_path' to '$zip_file'");
+            die("packages: ERROR: Unable to add '$file_name' to '$zip_file'");
         }
     else if ($mtime_f > ($mtime_z+1)) // One second imprecision on zip file time.
         {
-        $res=$zip->addFile($file_full_path,basename($file_full_path));
-        echo basename($file_full_path)." Refreshed into '$zip_file'";
+        $res=$zip->addFile($file_full_path,$file_name);
+        echo "packages: ".$file_name." Refreshed into '$zip_file'";
         if(!$res)
-            die("FAILED: Unable to add '$file_full_path' to '$zip_file'");
+            die("packages: ERROR: Unable to refresh '$file_name' to '$zip_file'");
         }
-    else echo basename($file_full_path)." Already in '$zip_file'";
+    else echo "packages: ".$file_name." Already in '$zip_file'";
     $zip->close();
     $status=1;
     }