adding twig library
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 29 May 2010 16:39:20 +0000 (16:39 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 29 May 2010 16:39:20 +0000 (16:39 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@480 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

www/inc/twig [new symlink]
www/index.php

diff --git a/www/inc/twig b/www/inc/twig
new file mode 120000 (symlink)
index 0000000..4de2cd0
--- /dev/null
@@ -0,0 +1 @@
+../../twig/lib/Twig
\ No newline at end of file
index 64a63a0..2d4f098 100644 (file)
@@ -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');