[Mapbender-commits] r2169 - branches/2.4.5/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Mar 4 05:51:57 EST 2008
Author: christoph
Date: 2008-03-04 05:51:57 -0500 (Tue, 04 Mar 2008)
New Revision: 2169
Modified:
branches/2.4.5/http/classes/class_administration.php
Log:
use constant CHECK from mapbender.conf
Modified: branches/2.4.5/http/classes/class_administration.php
===================================================================
--- branches/2.4.5/http/classes/class_administration.php 2008-03-04 10:47:22 UTC (rev 2168)
+++ branches/2.4.5/http/classes/class_administration.php 2008-03-04 10:51:57 UTC (rev 2169)
@@ -760,14 +760,7 @@
}
function checkModulePermission($arrayGuis, $modulePath, $column){
- $check = true;
- try {
- $check = CHECK;
- }
- catch ($error) {
- $msg = "Constant CHECK undefined in mapbender.conf, assuming 'true'";
- $e = new mb_exception($msg);
- }
+ $check = CHECK;
if($check == true){
$perm = false;
More information about the Mapbender_commits
mailing list