mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
66ca0daa61
commit
b34b284929
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user