From: konrad Date: Sat, 29 May 2010 16:39:20 +0000 (+0000) Subject: adding twig library X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=fde5d2f4fc0cde493d587ef0e28f1434641fde5d;p=web%2Fkonrad%2Fsmoke.git adding twig library git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@480 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/inc/twig b/www/inc/twig new file mode 120000 index 0000000..4de2cd0 --- /dev/null +++ b/www/inc/twig @@ -0,0 +1 @@ +../../twig/lib/Twig \ No newline at end of file diff --git a/www/index.php b/www/index.php index 64a63a0..2d4f098 100644 --- a/www/index.php +++ b/www/index.php @@ -4,6 +4,9 @@ include('inc/loader.php'); include('inc/loader_nonadmin.php'); //load class-files; TODO: remove most of them include('./inc/classes/autoload.php'); +//load external Twig library +require_once 'inc/twig/Autoloader.php'; +Twig_Autoloader::register(); //load globals include('inc/global_variables.php'); include('inc/global_functions.php');