Skip to content
Snippets Groups Projects
Commit 488d5fa0 authored by Michael Klier chi@chimeric.de's avatar Michael Klier chi@chimeric.de
Browse files

enhanced getBaseURL()

darcs-hash:20060529154201-484ab-42382d9bd2bac83f84226209027001ca1f6deff0.gz
parent 0280d25b
No related branches found
No related tags found
No related merge requests found
......@@ -257,6 +257,9 @@ function getBaseURL($abs=false){
//handle script in lib/exe dir
$dir = preg_replace('!lib/exe/$!','',$dir);
//handle script in lib/plugins dir
$dir = preg_replace('!lib/plugins/.*$!','',$dir);
//finish here for relative URLs
if(!$abs) return $dir;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment