aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/load_smarty.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys/load_smarty.php')
-rw-r--r--ratatoeskr/sys/load_smarty.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/ratatoeskr/sys/load_smarty.php b/ratatoeskr/sys/load_smarty.php
deleted file mode 100644
index 43df957..0000000
--- a/ratatoeskr/sys/load_smarty.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/*
- * File: ratatoeskr/sys/load_smarty.php
- *
- * Create the global Smarty instance.
- *
- * License:
- * This file is part of Ratatöskr.
- * Ratatöskr is licensed unter the MIT / X11 License.
- * See "ratatoeskr/licenses/ratatoeskr" for more information.
- */
-
-require_once(dirname(__FILE__) . "/../libs/smarty/Smarty.class.php");
-
-if(!isset($smarty))
-{
- /*
- * Variable: $smarty
- * Global smarty instance.
- */
- $smarty = new Smarty();
- $smarty->setTemplateDir(dirname(__FILE__) . "/../templates/");
- $smarty->setCompileDir(dirname(__FILE__) . "/../tmp/smartytemplates_c");
- $smarty->setCacheDir(dirname(__FILE__) . "/../tmp/smarty/cache");
- $smarty->setConfigDir(dirname(__FILE__) . "/../smarty_confdir");
- $smarty->left_delimiter = "{%";
- $smarty->right_delimiter = "%}";
-}
-
-?>