This commit is contained in:
daitingting
2023-04-25 16:00:23 +08:00
parent 4af6c50489
commit 98bbf73ed6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1916,7 +1916,7 @@ class pivotModel extends model
case 'option':
if($field)
{
$path = $this->app->getExtensionRoot() . 'biz' . DS . 'dataview' . DS . 'table' . DS . "$object.php";
$path = $this->app->getModuleRoot() . 'dataview' . DS . 'table' . DS . "$object.php";
include $path;
$options = $schema->fields[$field]['options'];
+1 -1
View File
@@ -745,7 +745,7 @@ class screenModel extends model
case 'option':
if($field)
{
$path = $this->app->getExtensionRoot() . 'biz' . DS . 'dataview' . DS . 'table' . DS . "$object.php";
$path = $this->app->getModuleRoot() . 'dataview' . DS . 'table' . DS . "$object.php";
include $path;
$options = $schema->fields[$field]['options'];