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:
paolo
2016-06-23 12:29:58 +02:00
parent 8df43d4b6f
commit 38c98531ed
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -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;