changeset 248:1c32c513d9ba gmap2

Some work.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Mar 2014 20:25:12 +0200
parents a0a788e1b82e
children a59e1a7f71f8
files tools/makegmaps.php
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/makegmaps.php	Mon Mar 17 03:11:25 2014 +0200
+++ b/tools/makegmaps.php	Mon Mar 17 20:25:12 2014 +0200
@@ -239,7 +239,7 @@
   "===========================================================\n".
   "GMaps TNG bootstrap and update script by Ggr & Jeskko\n".
   "===========================================================\n";
-  
+
 if (file_exists($gmapsConfig))
 {
   $firstRun = FALSE;
@@ -286,6 +286,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