mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +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\Slim(array('mode'=>'production', '_session.handler'=>null));
|
||||
$app = new \Slim\App(/*array('mode'=>'production', '_session.handler'=>null)*/);
|
||||
|
||||
/*
|
||||
$app->configureMode('production', function () use ($app) {
|
||||
$app->config(array(
|
||||
'log.enable' => false,
|
||||
|
@ -2031,7 +2032,7 @@ $app->configureMode('development', function () use ($app) {
|
|||
'debug' => true
|
||||
));
|
||||
});
|
||||
|
||||
*/
|
||||
// use post for create operation
|
||||
// use get for retrieval operation
|
||||
// use put for update operation
|
||||
|
|
Loading…
Reference in New Issue
Block a user