[solved] Can not load SQL file

edited August 2017 in Bug Reports
Hello,
I am trying to load sql file and found oen issue.
in file modules\fuel\core\MY_DB_mysqli_driver.php
before
$CI->load->database();
database is loaded from this path
APPPATH.'config/database.php'
but in my case the database is in APPPATH.'config/{environment}/database.php'
file.
which is codeigniter's default functionality to put inside it. (https://www.codeigniter.com/user_guide/libraries/config.html#environments)
Can you tell me what is the way to solve this,
or am I going in wrong direction.

Comments

Sign In or Register to comment.