* adjust code.

This commit is contained in:
wangyidong
2016-05-03 17:13:11 +08:00
parent 5ffc37fefe
commit a512350363
54 changed files with 393 additions and 343 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class datatableModel extends model
*/
public function getSetting($module)
{
$datatableId = $module . $this->app->getMethodName();
$datatableId = $module . ucfirst($this->app->getMethodName());
$module = zget($this->config->datatable->moduleAlias, $module, $module);
if(!isset($this->config->$module)) $this->loadModel($module);