- add bootstrap file to load and register Smarty_Autoloader. Change composer.json to make it known to composer

This commit is contained in:
uwetews
2016-11-08 17:48:25 +01:00
parent c4746e9080
commit 428a7ad883
6 changed files with 58 additions and 31 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
/*
* This file is part of the Smarty package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Load and register Smarty Autoloader
*/
if (!class_exists('Smarty_Autoloader')) {
require __DIR__ . '/Autoloader.php';
}
Smarty_Autoloader::register();