diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-05-01 16:09:09 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-05-01 16:09:09 +0200 |
commit | 88b863bba8772a012662624102216907b4126a5c (patch) | |
tree | 7f5a56a240279603702c2c8d0cc1072433ecff4e /src/ste | |
parent | dc5dab268c5a39f4df5159b62d24a24a6e9fa988 (diff) | |
download | ste-88b863bba8772a012662624102216907b4126a5c.tar.gz ste-88b863bba8772a012662624102216907b4126a5c.tar.bz2 ste-88b863bba8772a012662624102216907b4126a5c.zip |
Get rid of closing ?> in compiled output
Diffstat (limited to 'src/ste')
-rw-r--r-- | src/ste/FilesystemStorageAccess.php | 2 |
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."); } } |