X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdatabase.php;h=1d381d2e2b482139d043173e4caebb3e9d8c4dde;hb=a12f51f9ed853bb79352fb9feffe4ac2c773ee17;hp=62e64fb92b36f3bdf108530c8bfdce742adc8690;hpb=b226bbefe6bc09bcd75432c3c3ba32bf7da45b71;p=shipsimu.git diff --git a/inc/database.php b/inc/database.php index 62e64fb..1d381d2 100644 --- a/inc/database.php +++ b/inc/database.php @@ -2,11 +2,11 @@ /** * Initializes the database layer * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @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 + * @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 @@ -29,8 +29,8 @@ $layer = null; if (!defined('_DB_TYPE')) { // Abort here ApplicationEntryPoint::app_die("[Main:] Please define a database type first!
-E.g.:
$GLOBALS['cfg']->defineDatabaseType("local");
-This will choose the local-file-based database type (layer)"); +E.g.:
$cfg->defineDatabaseType("local");
+This will choose the local file-based database layer."); } // Generate FQFN for the database layer