changeset 249:a59e1a7f71f8 gmap2

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Mar 2014 20:25:22 +0200
parents 51921cbc3c4f (current diff) 1c32c513d9ba (diff)
children ee5492ccba8e
files tools/makegmaps.php
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/makegmaps.php	Mon Mar 17 20:04:13 2014 +0200
+++ b/tools/makegmaps.php	Mon Mar 17 20:25:22 2014 +0200
@@ -239,7 +239,7 @@
   "===========================================================\n".
   "GMaps TNG bootstrap and update script by Ggr & Jeskko\n".
   "===========================================================\n";
-  
+
 if (file_exists($gmapsConfig))
 {
   $firstRun = FALSE;
@@ -288,6 +288,14 @@
 $rawSuffix = ".new";
 $rawAltSuffix = ".map";
 
+/*
+foreach (array("." => 0600, $cfg["pathMapUtils"] => 0600) as $spath => $sperm)
+{
+  if (chmod($spath, $sperm) === FALSE)
+    echo "Could not set permissions for '".$spath."'.\n");
+}
+*/
+
 
 //
 // Include continent and tradelane configuration