mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
use new Slim version
This commit is contained in:
parent
24a6938f51
commit
4e87b9612d
|
@ -2016,8 +2016,9 @@ function echoData() { /* {{{ */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
//$app = new Slim(array('mode'=>'development', '_session.handler'=>null));
|
//$app = new Slim(array('mode'=>'development', '_session.handler'=>null));
|
||||||
$app = new \Slim\Slim(array('mode'=>'production', '_session.handler'=>null));
|
$app = new \Slim\App(/*array('mode'=>'production', '_session.handler'=>null)*/);
|
||||||
|
|
||||||
|
/*
|
||||||
$app->configureMode('production', function () use ($app) {
|
$app->configureMode('production', function () use ($app) {
|
||||||
$app->config(array(
|
$app->config(array(
|
||||||
'log.enable' => false,
|
'log.enable' => false,
|
||||||
|
@ -2031,7 +2032,7 @@ $app->configureMode('development', function () use ($app) {
|
||||||
'debug' => true
|
'debug' => true
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
// use post for create operation
|
// use post for create operation
|
||||||
// use get for retrieval operation
|
// use get for retrieval operation
|
||||||
// use put for update operation
|
// use put for update operation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user