[Mapbender-commits] r2726 - branches/spsneo_dev/build

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Jul 26 04:07:16 EDT 2008


Author: spsneo
Date: 2008-07-26 04:07:16 -0400 (Sat, 26 Jul 2008)
New Revision: 2726

Modified:
   branches/spsneo_dev/build/checksum-utils.inc
Log:
Function to scan and create json files

Modified: branches/spsneo_dev/build/checksum-utils.inc
===================================================================
--- branches/spsneo_dev/build/checksum-utils.inc	2008-07-26 08:06:51 UTC (rev 2725)
+++ branches/spsneo_dev/build/checksum-utils.inc	2008-07-26 08:07:16 UTC (rev 2726)
@@ -26,7 +26,6 @@
 			if(is_readable($file_path)) {
 				if($file != 'checksum.json'){
 					$file_arr[$file] = sha1_file($file_path);
-					echo "Checksum of ".$file." created.\n";
 				}
 			} else {
 				echo $file_path." is not readable.\nPlease make sure you have privelege to build.\nAborting...";
@@ -34,7 +33,7 @@
 			}
 		} else if (is_dir($file_path)) {
 			if($file != '.' && $file != '..' ) {
-				echo "Scanning directory: ".$file_path."\n";
+				//echo "Scanning directory: ".$file_path."\n";
 				build_checksum($file_path);
 			}
 		} else {
@@ -50,6 +49,6 @@
 		exit();
 	}
 	fwrite($file_json_handle, $file_json_string);
-	echo "Succesfully created checksums of files in directory: ".$dir_path."\n";
+	//echo "Succesfully created checksums of files in directory: ".$dir_path."\n";
 	return TRUE;
 }



More information about the Mapbender_commits mailing list