summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ste/FilesystemStorageAccess.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/FilesystemStorageAccess.php b/src/ste/FilesystemStorageAccess.php
index 0bae3b2..d477e36 100644
--- a/src/ste/FilesystemStorageAccess.php
+++ b/src/ste/FilesystemStorageAccess.php
@@ -66,7 +66,7 @@ class FilesystemStorageAccess implements StorageAccess
{
$fn = (($mode == StorageAccess::MODE_SOURCE) ? $this->sourcedir : $this->transcompileddir) . "/" . $tpl . (($mode == StorageAccess::MODE_TRANSCOMPILED) ? ".php" : "");
@mkdir(dirname($fn), 0777, true);
- if (file_put_contents($fn, "<?php\n\$transcompile_fx = $data; ?>") === false) {
+ if (file_put_contents($fn, "<?php\n\$transcompile_fx = $data;") === false) {
throw new CantSaveTemplate("Unable to save template.");
}
}