Skip to content

Commit

Permalink
Update CurdService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored May 15, 2022
1 parent fcefb10 commit bde8629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curd/service/CurdService.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ class CurdService

public function __construct(array $config)
{
$this->rootPath = root_path();
$this->setParam($config);
$this->tablePrefix = config('database.connections.'.$config['driver'].'.prefix');
$this->database = Config::get('database.connections' . '.' .$config['driver'] . '.database');
$this->driver = $config['driver'];
$this->dir = __DIR__;
$this->rootPath = root_path();
$this->tplPath = $this->rootPath . 'vendor' . DS . 'funadmin'. DS . 'fun-addons' . DS . 'src' . DS . 'curd' . DS . 'tpl' . DS ;
return $this;
}
Expand Down

0 comments on commit bde8629

Please sign in to comment.