openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 3cdc3223a840706e8fece80bdb3fdf039997886e
parent 42bad1402e98ea69cfdcd36b91811a2cd30a6b2f
Author: dankert <devnull@localhost>
Date:   Thu, 12 Mar 2009 22:33:02 +0100

Korrektur für absolute Pfad-Angaben, falls Parameter "oid" gesetzt ist.

Diffstat:
serviceClasses/Html.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/serviceClasses/Html.class.php b/serviceClasses/Html.class.php @@ -112,7 +112,7 @@ class Html $controller_file_name = OR_CONTROLLER_FILE.'.'.PHP_EXT; if ( isset($params['oid']) ) - $prefix = dirname($_SERVER['SCRIPT_NAME']).'/'; + $prefix = FileUtils::slashify(dirname($_SERVER['SCRIPT_NAME'])); else $prefix = './';