'index', '$Action' => '$Action', '$Action//$Action/$ID' => 'handleAction', ); function index() { $actions = array( "build" => "Build/rebuild this environment (formerly db/build). Call this whenever you have updated your project sources", "tests" => "See a list of unit tests to run", "tasks" => "See a list of build tasks to run", "viewcode" => "Read source code in a literate programming style", ); // Web mode if(!Director::is_cli()) { $renderer = new DebugView(); $renderer->writeHeader(); $renderer->writeInfo("Sapphire Development Tools", Director::absoluteBaseURL()); $base = Director::baseURL(); echo '