コード例 #1
0
<?php

/**
 * As developers we need to maintain and control information that site admins
 * have no use for. This information includes, but is not limited to: Error Logs,
 * Script Execution Times, Database Query Totals, Slow Queries, and Peak Traffic 
 * Times.
 *
 * On the same token, admins control content that we do not need to be bothered
 * with. This is what /Dev is for, showing developers the information they need
 * to make sound decisions and to nip errors in the bud, without the extra clutter
 * and hastle of actual page content.
 *
 * This also opens the door to adding a cloud editor in the Dev environment
 * so that devs can log on from any computer and make code changes online.
 */
import::routes();
import::RequestHandler();
import::template();
import::models();
routes::classmap('dev', '/dev', array('/' => 'Dashboard', '/login' => 'Login', '/logout' => 'Logout'));