mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Fix: DBTools $seed_path property is now set in the constructor, APPPATH is not always replaced
Fix: Set the right value of seq_vorlagestudiengang_vorlagestudiengang_id before the insert
This commit is contained in:
@@ -16,7 +16,7 @@ class DBTools extends FHC_Controller
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $seed_path = APPPATH.'seeds/';
|
||||
protected $seed_path;
|
||||
|
||||
/**
|
||||
* Seed basename regex
|
||||
@@ -34,6 +34,8 @@ class DBTools extends FHC_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$seed_path = APPPATH.'seeds/';
|
||||
|
||||
if ($this->input->is_cli_request())
|
||||
{
|
||||
$cli = true;
|
||||
|
||||
Reference in New Issue
Block a user