silverstripe-framework/core/control/SapphireInfo.php
Sam Minnee ddb96b9dbd Added Makefile so that you can execute 'make test' in sapphire and it will run tests.
Added support for  array in _ss_environment.php for specifying URLs to use for cli-script.php

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 05:24:27 +00:00

11 lines
184 B
PHP

<?php
/**
* Returns information about the current site instance.
*/
class SapphireInfo extends Controller {
function baseurl() {
return Director::absoluteBaseUrl() . "\n";
}
}