Permalink
Browse files

Some fixes

  • Loading branch information...
1 parent 3e6a761 commit 9bfc948084daa2da37423591e4be5f1c723363b3 @mhoegh committed with root Jan 9, 2012
Showing with 13 additions and 57 deletions.
  1. +1 −2 README
  2. +0 −6 conf/CVS/Entries
  3. +0 −5 conf/CVS/Entries.Extra
  4. +0 −5 conf/CVS/Entries.Extra.Old
  5. +0 −6 conf/CVS/Entries.Old
  6. +0 −1 conf/CVS/Repository
  7. +0 −1 conf/CVS/Root
  8. +0 −20 conf/load_modules.php
  9. +7 −5 conf/main.php
  10. +5 −6 html_header.php
View
3 README
@@ -1,2 +1 @@
-Comming soon....
-From beta
+Install in web root folder and edit conf/main.php
View
6 conf/CVS/Entries
@@ -1,6 +0,0 @@
-/browserconfig.xml/1.5/Thu Nov 26 12:43:03 2009//
-/refmapconfig.php/1.6/Mon Aug 25 10:38:45 2008//
-/load_modules.php/1.7/Mon Sep 6 10:51:57 2010//
-/maplinkconfig.php/1.22/Thu Nov 25 08:43:52 2010//
-/mapparam.php/1.1/Tue Sep 21 11:58:02 2010//
-D
View
5 conf/CVS/Entries.Extra
@@ -1,5 +0,0 @@
-/browserconfig.xml////*///
-/refmapconfig.php////*///
-/load_modules.php////*///
-/maplinkconfig.php////*///
-/mapparam.php////*///
View
5 conf/CVS/Entries.Extra.Old
@@ -1,5 +0,0 @@
-/browserconfig.xml////*///
-/refmapconfig.php////*///
-/load_modules.php////*///
-/maplinkconfig.php////*///
-/mapparam.php////*///
View
6 conf/CVS/Entries.Old
@@ -1,6 +0,0 @@
-/browserconfig.xml/1.5/Thu Nov 26 12:43:03 2009//
-/refmapconfig.php/1.6/Mon Aug 25 10:38:45 2008//
-/load_modules.php/1.7/Mon Sep 6 10:51:57 2010//
-/maplinkconfig.php/1.22/Thu Nov 25 08:43:52 2010//
-/mapparam.php/0/dummy timestamp//
-D
View
1 conf/CVS/Repository
@@ -1 +0,0 @@
-appformap/conf
View
1 conf/CVS/Root
@@ -1 +0,0 @@
-:ssh:mhoegh@appformap.cvs.sourceforge.net:/cvsroot/appformap
View
20 conf/load_modules.php
@@ -1,20 +0,0 @@
-<?php
-//
-if (!extension_loaded("gd")) dl("php_gd2.dll");
-if (!extension_loaded("pgsql")) dl("php_pgsql.dll");
-if (!extension_loaded("MapScript")) dl("php_mapscript.dll");
-if(!$doNotLoadClasses)
-{
-define("__COUNTER_PHP", 1);
-/*
-include_once($basePath."core/constants.php");
-include_once($basePath."core/classes.php");
-include_once($basePath."core/functions.php");
-require_once($basePath."core/dbuser.php");
-include_once($basePath."core/dbcore.php");
-$dbObj->connect2db();
-include_once($basePath."core/config.php");
-include_once($basePath."core/appfiles/lokalplaner/lokalplanerfunctions.php");
-$iLangID = DANISH;// Odeum CMS specific;
-*/
-}
View
12 conf/main.php
@@ -2,24 +2,26 @@
ini_set("display_errors", "On");
error_reporting(3);
+// URL and path information. Must be the web root folder!
$hostName = "http://beta.mygeocloud.com";
-
-//$basePath = $_SERVER["DOCUMENT_ROOT"]."/";
$basePath = "/var/www/mygeocloud/";
-set_include_path(get_include_path() . PATH_SEPARATOR . $basePath . PATH_SEPARATOR . $basePath."libs" . PATH_SEPARATOR . $basePath."inc" . PATH_SEPARATOR . $basePath."libs/PEAR/" . PATH_SEPARATOR . $basePath."conf");
-// PostGIS connection
+// PostGreSQL connection
if (!$postgishost) $postgishost="127.0.0.1";
if (!$postgisdb) $postgisdb="postgres";
if (!$postgisuser) $postgisuser="postgres";
if (!$postgisport) $postgisport="";
if (!$postgispw) $postgispw="";
+// Database template for creating new databases
$databaseTemplate = "template_mygeocloud";
+// Use PostGIS or PHP to export GML
$useWktToGmlInPHP = false;
+// Your Google Maps API key
$gMapsApiKey = "ABQIAAAAixUaqWcOE1cqF2LJyDYCdhS4p9AtMz66nyqFUaziGHLM44rOahQ1vHhpXeGXl_ifkSE8O1eT_foV2w";
-$cacheDir = $basePath."tmp/cache/";
+// Include path setting. You may not need to alter this
+set_include_path(get_include_path() . PATH_SEPARATOR . $basePath . PATH_SEPARATOR . $basePath."libs" . PATH_SEPARATOR . $basePath."inc" . PATH_SEPARATOR . $basePath."libs/PEAR/" . PATH_SEPARATOR . $basePath."conf");
View
11 html_header.php
@@ -31,15 +31,14 @@
<script type="text/javascript">
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-24038130-1']);
- _gaq.push(['_setDomainName', '.mygeocloud.com']);
+ _gaq.push(['_setAccount', 'UA-28178450-1']);
+ _gaq.push(['_setDomainName', 'mygeocloud.com']);
_gaq.push(['_trackPageview']);
-
+
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
-
- </script>
-
+
+ </script>

0 comments on commit 9bfc948

Please sign in to comment.