summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-05-01 16:09:09 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-05-01 16:09:09 +0200
commit88b863bba8772a012662624102216907b4126a5c (patch)
tree7f5a56a240279603702c2c8d0cc1072433ecff4e
parentdc5dab268c5a39f4df5159b62d24a24a6e9fa988 (diff)
downloadste-88b863bba8772a012662624102216907b4126a5c.tar.gz
ste-88b863bba8772a012662624102216907b4126a5c.tar.bz2
ste-88b863bba8772a012662624102216907b4126a5c.zip
Get rid of closing ?> in compiled output
-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.");
}
}