Fixed template include
authorAlexander Ebert <ebert@woltlab.com>
Wed, 17 Jul 2013 14:59:09 +0000 (16:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 17 Jul 2013 14:59:09 +0000 (16:59 +0200)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index ba0ea968d032d991b9c11864a80f158c04acdf4a..c4dbc5efd9c83327f7c9088a56c87c62272db5f3 100644 (file)
@@ -750,7 +750,7 @@ class TemplateScriptingCompiler {
                        unset($args['once']);
                }
                
-               $application = '$this->v[\'__APPLICATION\']';
+               $application = "'wcf'";
                if (isset($args['application'])) {
                        $application = $args['application'];
                        unset($args['application']);