summaryrefslogtreecommitdiff
path: root/example/index.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-05-01 17:33:13 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-05-01 17:33:13 +0200
commit7449faaa76a5b4008fd51a6562cca2e0a852ea6b (patch)
tree9e6bc34afe9e4e7d49b1a26f0b67485869b0a9de /example/index.php
parentb0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5 (diff)
downloadste-7449faaa76a5b4008fd51a6562cca2e0a852ea6b.tar.gz
ste-7449faaa76a5b4008fd51a6562cca2e0a852ea6b.tar.bz2
ste-7449faaa76a5b4008fd51a6562cca2e0a852ea6b.zip
Clean up code and improve documentation
This switches the code documentation genarator (we're now using phpdoc instead of NaturalDoc). Also various small code cleanup tasks: - Remove unused code - Get rid of `and` / `or`, we're using `&&` / `||` now - Adding missing return values - Helping PhpStorm to detect some dynamically called functions (mark_builtin_callable in Transcompiler) - Reword transcompiling => compiling in documentation
Diffstat (limited to 'example/index.php')
-rw-r--r--example/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/index.php b/example/index.php
index 4a96410..caf57eb 100644
--- a/example/index.php
+++ b/example/index.php
@@ -9,7 +9,7 @@ use \kch42\ste;
$ste = new ste\STECore(
new ste\FilesystemStorageAccess( # The STECore needs a StorageAccess implementation, we are using the FilesystemStorageAccess, which comes with STE.
dirname(__FILE__) . "/templates/src", # FilesystemStorageAccess needs a directory, where the Templates are...
- dirname(__FILE__) . "/templates/transc" # ...and a directory for the transcompiled templates (write permissions needed).
+ dirname(__FILE__) . "/templates/transc" # ...and a directory for the compiled templates (write permissions needed).
)
);