]> git.mxchange.org Git - shipsimu.git/blobdiff - application/selector/starter.php
Several MVC classes added, entryPoint method rewritten
[shipsimu.git] / application / selector / starter.php
index 1e6e5233bafe5593ac615ee0d340ba77fd480b32..9d0d8acb2d90bbb796548fa3d911dd1b15049495 100644 (file)
@@ -1,6 +1,28 @@
 <?php
-// Is there an application helper instance? We need the method main() for
-// maining the application
+/**
+ * Starter of the application
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @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.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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+// Get the application helper instance
 $app = ApplicationHelper::getInstance();
 
 // Some sanity checks
@@ -31,7 +53,7 @@ try {
        );
        eval($eval);
 } catch (FrameworkException  $e) {
-       ApplicationEntryPoint::app_die(sprintf("[Main:] Die Applikation <strong>%s</strong> kann nicht gestartet werden. Grund: <u>%s</u>",
+       ApplicationEntryPoint::app_die(sprintf("[Main:] Die Applikation <strong>%s</strong> kann nicht gestartet werden. Grund: <strong>%s</strong>",
                $application,
                $e->getMessage()
        ));