[Mapbender-commits] r7758 - in branches/metador: . http/MeTaDor
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Apr 8 09:22:16 EDT 2011
Author: apour
Date: 2011-04-08 06:22:16 -0700 (Fri, 08 Apr 2011)
New Revision: 7758
Added:
branches/metador/metadata/
Modified:
branches/metador/http/MeTaDor/class_BwMetadata.php
branches/metador/http/MeTaDor/mb_metadata_server_service.php
Log:
added metadata folder and changed the paths
Modified: branches/metador/http/MeTaDor/class_BwMetadata.php
===================================================================
--- branches/metador/http/MeTaDor/class_BwMetadata.php 2011-04-08 11:36:02 UTC (rev 7757)
+++ branches/metador/http/MeTaDor/class_BwMetadata.php 2011-04-08 13:22:16 UTC (rev 7758)
@@ -40,9 +40,9 @@
const TYPE_APPLICATION = 'application';
const TYPE_SERVICE = 'service';
const TYPE_SERIES = 'series';
+
+ const HARVESTING_DIR = "../../metadata/";
- const HARVESTING_DIR = "/appserver/metadata/";
-
const READ = 128; // 10000000 The right to read
const WRITE = 64; // 01000000 The right to write
const CLONE_DOC = 32; // 00100000 The right to clone
Modified: branches/metador/http/MeTaDor/mb_metadata_server_service.php
===================================================================
--- branches/metador/http/MeTaDor/mb_metadata_server_service.php 2011-04-08 11:36:02 UTC (rev 7757)
+++ branches/metador/http/MeTaDor/mb_metadata_server_service.php 2011-04-08 13:22:16 UTC (rev 7758)
@@ -46,7 +46,7 @@
$file = str_replace("###".$key."###",$value,$file);
}
- $handle = fopen("/appserver/metadata/".$uuid.".xml",'w');
+ $handle = fopen(dirname(__FILE__)."/../../metadata/".$uuid.".xml",'w');
fwrite($handle,$file);
fclose($handle);
$ajaxResponse->setSuccess(true);
More information about the Mapbender_commits
mailing list