- deleted test plugin

- added FML Library
This commit is contained in:
Steffen Schröder
2013-11-25 00:02:07 +01:00
parent 33001ef573
commit 835744b0e6
62 changed files with 2992 additions and 22 deletions

View File

@ -0,0 +1,22 @@
<?php
/**
* FancyManiaLinks - Automatic ManiaLink Generator Framework
*
* @author steeffeen
* @version 1.0
*/
if (!defined('FML_PATH')) {
define('FML_PATH', __DIR__ . '/../');
}
spl_autoload_register(
function ($className) {
$classPath = str_replace('\\', DIRECTORY_SEPARATOR, $className);
$filePath = FML_PATH . DIRECTORY_SEPARATOR . $classPath . '.php';
if (file_exists($filePath)) {
require_once $filePath;
}
});
?>