]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/controller/class_BaseControllerResolver.php
Updated domain without a dash :(
[core.git] / inc / classes / main / resolver / controller / class_BaseControllerResolver.php
index 69fcf8700793fa4dfe55298f43ec050e267e298c..020438f133ed4cfcef02898fee873662ddb9ca17 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A generic controller resolver class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * 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
@@ -133,7 +133,7 @@ class BaseControllerResolver extends BaseResolver {
         */
        public function isControllerValid ($controllerName) {
                // By default nothing shall be valid
-               $isValid = false;
+               $isValid = FALSE;
 
                // Is a controller set?
                if (empty($controllerName)) {
@@ -148,11 +148,11 @@ class BaseControllerResolver extends BaseResolver {
                $this->setClassName($className);
 
                // Try it hard to get an controller
-               while ($isValid === false) {
+               while ($isValid === FALSE) {
                        // Is this class already loaded?
                        if (class_exists($this->getClassName())) {
                                // This class does exist. :-)
-                               $isValid = true;
+                               $isValid = TRUE;
                        } elseif ($this->getClassName() != $this->getClassPrefix() . 'DefaultNewsController') {
                                // Set default controller
                                $this->setClassName($this->getClassPrefix() . 'DefaultNewsController');