Several MVC classes added, entryPoint method rewritten
[shipsimu.git] / inc / classes / main / controller / class_BaseController.php
index 82dba69d6f22d4bec610326317c56ac54909f389..f7aea5c307922c9a30552ed64bc1ea21d72f7790 100644 (file)
@@ -3,10 +3,10 @@
  * A generic controller class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.3.0
+ * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.mxchange.org
+ * @link               http://www.ship-simu.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
@@ -27,9 +27,9 @@ class BaseController extends BaseFrameworkSystem {
         *
         * @return      void
         */
-       protected function __construct () {
+       protected function __construct ($class) {
                // Call parent constructor
-               parent::__construct(__CLASS__);
+               parent::__construct($class);
 
                // Clean up a little
                $this->removeNumberFormaters();