Fixes in padmin
This commit is contained in:
parent
fcd3d53cd1
commit
d052f030a6
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ function padminConsole($options)
|
||||||
|
|
||||||
#Webmodel::$model_path='./modules/';
|
#Webmodel::$model_path='./modules/';
|
||||||
|
|
||||||
|
$options['model']=str_replace('.php', '', $options['model']);
|
||||||
|
|
||||||
$model_file=$options['model'].'.php';
|
$model_file=$options['model'].'.php';
|
||||||
|
|
||||||
if(!is_file($model_file))
|
if(!is_file($model_file))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue