summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-24 16:19:05 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-24 16:21:44 +0200
commit54486e9da19ef91c2240e8b2e6c4d19da5dce0f0 (patch)
treef033832ae3bf3a69c7239661376e8e02df5901df
parent3b5c779ac5eb70acbb2a5ca56fa0d36ee48d772b (diff)
downloadste-1.0.1.tar.gz
ste-1.0.1.tar.bz2
ste-1.0.1.zip
Fixed ste.php and steloader.php1.0.1
-rw-r--r--ste.php44
-rw-r--r--steloader.php2
2 files changed, 23 insertions, 23 deletions
diff --git a/ste.php b/ste.php
index 287918b..35e2084 100644
--- a/ste.php
+++ b/ste.php
@@ -4,37 +4,37 @@ namespace ste;
/* This file is for backwards compatibility only. Use an autoloader and the \kch42\ste namespace in new applications instead! */
-require_once(__DIR__ . "/src/Misc.php");
+require_once(__DIR__ . "/src/ste/Misc.php");
-require_once(__DIR__ . "/src/ASTNode.php");
-require_once(__DIR__ . "/src/TagNode.php");
-require_once(__DIR__ . "/src/TextNode.php");
-require_once(__DIR__ . "/src/VariableNode.php");
+require_once(__DIR__ . "/src/ste/ASTNode.php");
+require_once(__DIR__ . "/src/ste/TagNode.php");
+require_once(__DIR__ . "/src/ste/TextNode.php");
+require_once(__DIR__ . "/src/ste/VariableNode.php");
-require_once(__DIR__ . "/src/ParseCompileError.php");
-require_once(__DIR__ . "/src/RuntimeError.php");
-require_once(__DIR__ . "/src/FatalRuntimeError.php");
+require_once(__DIR__ . "/src/ste/ParseCompileError.php");
+require_once(__DIR__ . "/src/ste/RuntimeError.php");
+require_once(__DIR__ . "/src/ste/FatalRuntimeError.php");
-require_once(__DIR__ . "/src/BreakException.php");
-require_once(__DIR__ . "/src/ContinueException.php");
+require_once(__DIR__ . "/src/ste/BreakException.php");
+require_once(__DIR__ . "/src/ste/ContinueException.php");
-require_once(__DIR__ . "/src/StorageAccessFailure.php");
-require_once(__DIR__ . "/src/CantLoadTemplate.php");
-require_once(__DIR__ . "/src/CantSaveTemplate.php");
+require_once(__DIR__ . "/src/ste/StorageAccessFailure.php");
+require_once(__DIR__ . "/src/ste/CantLoadTemplate.php");
+require_once(__DIR__ . "/src/ste/CantSaveTemplate.php");
-require_once(__DIR__ . "/src/StorageAccess.php");
-require_once(__DIR__ . "/src/FilesystemStorageAccess.php");
+require_once(__DIR__ . "/src/ste/StorageAccess.php");
+require_once(__DIR__ . "/src/ste/FilesystemStorageAccess.php");
-require_once(__DIR__ . "/src/Calc.php");
+require_once(__DIR__ . "/src/ste/Calc.php");
-require_once(__DIR__ . "/src/Parser.php");
-require_once(__DIR__ . "/src/Transcompiler.php");
+require_once(__DIR__ . "/src/ste/Parser.php");
+require_once(__DIR__ . "/src/ste/Transcompiler.php");
-require_once(__DIR__ . "/src/VarNotInScope.php");
-require_once(__DIR__ . "/src/Scope.php");
+require_once(__DIR__ . "/src/ste/VarNotInScope.php");
+require_once(__DIR__ . "/src/ste/Scope.php");
-require_once(__DIR__ . "/src/STEStandardLibrary.php");
-require_once(__DIR__ . "/src/STECore.php");
+require_once(__DIR__ . "/src/ste/STEStandardLibrary.php");
+require_once(__DIR__ . "/src/ste/STECore.php");
/* Providing "proxy classes", so old applications can continue using the ste namespace */
diff --git a/steloader.php b/steloader.php
index a54bb5f..5797b51 100644
--- a/steloader.php
+++ b/steloader.php
@@ -9,7 +9,7 @@
function autoload_ste($cl) {
$path = explode("\\", $cl);
if(($path[0] == "kch42") && ($path[1] == "ste")) {
- require_once(__DIR__ . "/src/" . $path[2] . ".php");
+ require_once(__DIR__ . "/src/ste/" . $path[2] . ".php");
}
}