BUGFIX: fixed TaskRunner generating link with 2 slashes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@96998 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2010-01-15 01:45:46 +00:00 committed by Sam Minnee
parent f8f446fea4
commit efce7b9274

View File

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