aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/libs/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/libs/bootstrap.php')
-rw-r--r--vendor/smarty/smarty/libs/bootstrap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/smarty/smarty/libs/bootstrap.php b/vendor/smarty/smarty/libs/bootstrap.php
index 32096087f..dad72fcb1 100644
--- a/vendor/smarty/smarty/libs/bootstrap.php
+++ b/vendor/smarty/smarty/libs/bootstrap.php
@@ -12,6 +12,6 @@
* Load and register Smarty Autoloader
*/
if (!class_exists('Smarty_Autoloader')) {
- require __DIR__ . '/Autoloader.php';
+ require dirname(__FILE__) . '/Autoloader.php';
}
-Smarty_Autoloader::register();
+Smarty_Autoloader::register(true);