[Mapbender-commits] r2727 - branches/spsneo_dev/build
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Jul 26 04:25:51 EDT 2008
Author: spsneo
Date: 2008-07-26 04:25:51 -0400 (Sat, 26 Jul 2008)
New Revision: 2727
Modified:
branches/spsneo_dev/build/build-checksum.php
Log:
Function to scan and create json files
Modified: branches/spsneo_dev/build/build-checksum.php
===================================================================
--- branches/spsneo_dev/build/build-checksum.php 2008-07-26 08:07:16 UTC (rev 2726)
+++ branches/spsneo_dev/build/build-checksum.php 2008-07-26 08:25:51 UTC (rev 2727)
@@ -26,7 +26,7 @@
while(false !== ($dir_to_scan = $rootdir->read())) {
$dir_to_scan_path = $rootdir_path.'/'.$dir_to_scan;
- if(is_dir($dir_to_scan_path) && !in_array($dir_to_scan, $dir_not_to_scan)) {
+ if(is_dir($dir_to_scan_path) && !in_array($dir_to_scan, $dir_not_to_scan) && !preg_match("/^\./", $dir_to_scan)) {
echo "Scanning directory: ".$dir_to_scan_path."\n";
build_checksum($dir_to_scan_path);
echo "All checksums and respective JSON files created for all the files and directories inside ".$dir_to_scan_path."\n\n";
More information about the Mapbender_commits
mailing list