fixing bug in TaskRunner which caused broken links in the task listing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@74089 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-04-05 23:53:25 +00:00
parent 66ca0daa61
commit b34b284929

View File

@ -18,8 +18,7 @@ class TaskRunner extends Controller {
$renderer = new DebugView();
$renderer->writeHeader();
$renderer->writeInfo("Sapphire Development Tools: Tasks", Director::absoluteBaseURL());
$base = Director::baseURL();
if(strpos($base,-1) != '/') $base .= '/';
$base = Director::absoluteBaseURL();
echo "<ul>";
foreach($tasks as $task) {