From: Roland Häder Date: Tue, 24 Mar 2009 10:35:13 +0000 (+0000) Subject: Missing file added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbe2f3e1082665d236c2726f27bcf84b798ccef1;p=core.git Missing file added --- diff --git a/.gitattributes b/.gitattributes index c8d53297..ccdfe9fd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -501,6 +501,7 @@ inc/database.php -text inc/database/.htaccess -text inc/database/lib-local.php -text inc/file_io.php -text +inc/hooks.php -text inc/includes.php -text inc/language.php -text inc/language/.htaccess -text diff --git a/inc/hooks.php b/inc/hooks.php new file mode 100644 index 00000000..17c70e16 --- /dev/null +++ b/inc/hooks.php @@ -0,0 +1,30 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @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 . + */ + +// Register auto-load function with the SPL +// @TODO This makes the core depending on the SPL. But it should be installed anyway. +spl_autoload_register('ClassLoader::autoLoad'); + +// [EOF] +?>