Example #1
0
<?php

require dirname(__FILE__) . '/../Printemps.php';
$printemps = Printemps::init(array("database" => array("host" => "localhost", "user" => "root", "password" => "root", "name" => "printemps", "port" => 3306, "encode" => "utf8", "method" => "mysqli"), "initial" => array("APP_ROOT_DIR" => dirname(__FILE__), "APP_NAME" => "printemps", "APP_VERSION" => "alpha", "APP_DEBUG_MODE" => true, "APP_ENTRY_MODE" => 2), "router" => array("class" => array("example" => "index"), "method" => array("index:example" => "index"))));