[Mapbender-commits] r5055 - branches/2.6/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 1 11:03:11 EST 2009
Author: verenadiewald
Date: 2009-12-01 11:03:10 -0500 (Tue, 01 Dec 2009)
New Revision: 5055
Modified:
branches/2.6/http/classes/class_wfs_configuration.php
Log:
check if varname is valid is not necessary while saving
Modified: branches/2.6/http/classes/class_wfs_configuration.php
===================================================================
--- branches/2.6/http/classes/class_wfs_configuration.php 2009-11-30 15:16:15 UTC (rev 5054)
+++ branches/2.6/http/classes/class_wfs_configuration.php 2009-12-01 16:03:10 UTC (rev 5055)
@@ -78,14 +78,14 @@
public function getAuthElement () {
foreach ($this->elementArray as $element) {
if (!empty($element->authVarname)) {
- $validname = preg_match('/^\$_[a-zA-z]+(\[\"[a-zA-Z_]+\"\])?$/', $element->authVarname);
+ #$validname = preg_match('/^\$_[a-zA-z]+(\[\"[a-zA-Z_]+\"\])?$/', $element->authVarname);
- if ($validname === 1) {
+ #if ($validname === 1) {
return $element;
- }
- else {
- $e = new mb_exception("Found auth element, but variable name is not valid: " . $element->authVarname);
- }
+ #}
+ #else {
+ # $e = new mb_exception("Found auth element, but variable name is not valid: " . $element->authVarname);
+ #}
}
}
return null;
More information about the Mapbender_commits
mailing list