[Mapbender-commits] r2761 - branches/spsneo_dev/mapbender/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 8 16:21:49 EDT 2008


Author: spsneo
Date: 2008-08-08 16:21:49 -0400 (Fri, 08 Aug 2008)
New Revision: 2761

Modified:
   branches/spsneo_dev/mapbender/update/commandLine.inc
   branches/spsneo_dev/mapbender/update/counter.php
   branches/spsneo_dev/mapbender/update/update-utils.inc
   branches/spsneo_dev/mapbender/update/update.php
   branches/spsneo_dev/mapbender/update/verify_checksum.php
Log:
Minor refactoring

Modified: branches/spsneo_dev/mapbender/update/commandLine.inc
===================================================================
--- branches/spsneo_dev/mapbender/update/commandLine.inc	2008-08-08 20:19:11 UTC (rev 2760)
+++ branches/spsneo_dev/mapbender/update/commandLine.inc	2008-08-08 20:21:49 UTC (rev 2761)
@@ -1,8 +1,24 @@
 <?php
 
 #Mapbender Updater File
-#@author Siddharth Prakash Singh (spsneo)
-#Google SoC 2008 Project
+#Author: Siddharth Prakash Singh(spsneo)
+#Google Summer Of Code Project 2008
+# Copyright (C) 2002 CCGIS 
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
 # This file tests whether the update script has been called from command line or browser.
 # Aborts the update process if called from a web browser
 

Modified: branches/spsneo_dev/mapbender/update/counter.php
===================================================================
--- branches/spsneo_dev/mapbender/update/counter.php	2008-08-08 20:19:11 UTC (rev 2760)
+++ branches/spsneo_dev/mapbender/update/counter.php	2008-08-08 20:21:49 UTC (rev 2761)
@@ -1,11 +1,27 @@
 <?php
 
-#@author Siddharth Prakash Singh (spsneo)
-#Google SoC 2008 Project 
+#Author: Siddharth Prakash Singh(spsneo)
+#Google Summer Of Code Project 2008
+# Copyright (C) 2002 CCGIS 
 #
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
 #This function acts as a counter.
 function print_count($last, $current) {
 	echo str_repeat( chr(8), strlen( $last ) ) . $current;
+	return TRUE;
 }
 
 ?>

Modified: branches/spsneo_dev/mapbender/update/update-utils.inc
===================================================================
--- branches/spsneo_dev/mapbender/update/update-utils.inc	2008-08-08 20:19:11 UTC (rev 2760)
+++ branches/spsneo_dev/mapbender/update/update-utils.inc	2008-08-08 20:21:49 UTC (rev 2761)
@@ -1,8 +1,23 @@
 <?php
 
-#@author Siddharth Prakash Singh (spsneo)
-#Google SoC 2008 Project
+#Author: Siddharth Prakash Singh(spsneo)
+#Google Summer Of Code Project 2008
+# Copyright (C) 2002 CCGIS 
 #
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
 #This file checks the required version of php and database server
 #
 #

Modified: branches/spsneo_dev/mapbender/update/update.php
===================================================================
--- branches/spsneo_dev/mapbender/update/update.php	2008-08-08 20:19:11 UTC (rev 2760)
+++ branches/spsneo_dev/mapbender/update/update.php	2008-08-08 20:21:49 UTC (rev 2761)
@@ -1,7 +1,9 @@
 <?php
 #update.php 
-#@author Siddharth Prakash Singh (spsneo)
-#Google SoC 2008 Project
+#Author: Siddharth Prakash Singh(spsneo)
+#Google Summer Of Code Project 2008
+# Copyright (C) 2002 CCGIS 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2, or (at your option)

Modified: branches/spsneo_dev/mapbender/update/verify_checksum.php
===================================================================
--- branches/spsneo_dev/mapbender/update/verify_checksum.php	2008-08-08 20:19:11 UTC (rev 2760)
+++ branches/spsneo_dev/mapbender/update/verify_checksum.php	2008-08-08 20:21:49 UTC (rev 2761)
@@ -1,5 +1,25 @@
 <?php
 
+# verify_checksum.php
+#Author: Siddharth Prakash Singh(spsneo)
+#Google Summer Of Code Project 2008
+# Copyright (C) 2002 CCGIS 
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+#This function verifies the checksum of each file scanning the directories recursively
 function verify_checksum($dir_path) {
 	
 	global $customized_modules;



More information about the Mapbender_commits mailing list