Changed the default value for sandbox mode to false
authorMarcel Werk <burntime@woltlab.com>
Fri, 27 Apr 2012 17:46:24 +0000 (19:46 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 27 Apr 2012 17:46:24 +0000 (19:46 +0200)
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php

index 0d410a97232a9fb5dfe05dfe4c6e1c7f10ef367d..a1ff1fe5baa64afb449bca093d717b4789acf74c 100755 (executable)
@@ -551,7 +551,7 @@ class TemplateEngine extends SingletonFactory {
         * @param       integer         $packageID
         * @return      string          output
         */
-       public function fetch($templateName, array $variables = array(), $sandbox = true, $packageID = PACKAGE_ID) {
+       public function fetch($templateName, array $variables = array(), $sandbox = false, $packageID = PACKAGE_ID) {
                // enable sandbox
                if ($sandbox) {
                        $this->enableSandbox();