From 2d504ab24dad674b40059587a4e44fa1418ecefb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 4 Oct 2005 19:24:37 +0000 Subject: [PATCH] Fixing problem with using only a *NIX directory separator --- dev/changes.txt | 3 ++- kernel.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev/changes.txt b/dev/changes.txt index bc0c5f1..02e52e7 100644 --- a/dev/changes.txt +++ b/dev/changes.txt @@ -28,4 +28,5 @@ CHANGELOG - Rewrote template conditional parsing logic [template.php] - Added localization framework [localize.php] - Template phrase parser no longer uses {lang.*} method, but insted {@""} for template text -- Template phrase parser uses ISSO's localize instead of a per-application system \ No newline at end of file +- Template phrase parser uses ISSO's localize instead of a per-application system +- ISSO should now work flawlessly on all types of servers (Windows and *NIX) \ No newline at end of file diff --git a/kernel.php b/kernel.php index d2df2d4..ebf1488 100644 --- a/kernel.php +++ b/kernel.php @@ -199,9 +199,9 @@ class Shared_Object_Framework */ function fetch_sourcepath($source) { - if (substr($source, strlen($source) - 1) != '/') + if (substr($source, strlen($source) - 1) != DIRECTORY_SEPARATOR) { - $source .= '/'; + $source .= DIRECTORY_SEPARATOR; } return $source; } -- 2.22.5