@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | public function __construct() |
| 20 | 20 | { |
| 21 | - $this->CI =& get_instance(); |
|
| 21 | + $this->CI = & get_instance(); |
|
| 22 | 22 | $this->CI->load->database(); |
| 23 | 23 | $this->CI->load->dbforge(); |
| 24 | 24 | $this->db = $this->CI->db; |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | { |
| 35 | 35 | if ($this->seedPath === null) |
| 36 | 36 | { |
| 37 | - $this->seedPath = APPPATH . 'database/seeds/'; |
|
| 37 | + $this->seedPath = APPPATH.'database/seeds/'; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $obj = $this->loadSeeder($seeder); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | protected function loadSeeder($seeder) |
| 55 | 55 | { |
| 56 | - $file = $this->seedPath . $seeder . '.php'; |
|
| 56 | + $file = $this->seedPath.$seeder.'.php'; |
|
| 57 | 57 | require_once $file; |
| 58 | 58 | |
| 59 | 59 | return new $seeder; |