@@ -6,7 +6,9 @@ |
||
| 6 | 6 | */ |
| 7 | 7 | namespace Deployer; |
| 8 | 8 | |
| 9 | -if(basename(getcwd()) !== 'manga-tracker') die('Bad CWD: Call from manga-tracker with dep -f=_scripts/deploy.php deploy'); |
|
| 9 | +if(basename(getcwd()) !== 'manga-tracker') { |
|
| 10 | + die('Bad CWD: Call from manga-tracker with dep -f=_scripts/deploy.php deploy'); |
|
| 11 | +} |
|
| 10 | 12 | |
| 11 | 13 | require 'recipe/cachetool.php'; //requires deployer/recipes |
| 12 | 14 | require 'recipe/codeigniter.php'; |
@@ -40,6 +40,6 @@ |
||
| 40 | 40 | |
| 41 | 41 | $config['dsn'] = TRUE; |
| 42 | 42 | |
| 43 | -if(file_exists(APPPATH . 'config/_secure/email.php')) { |
|
| 44 | - include APPPATH . 'config/_secure/email.php'; //CI BUG: For some odd reason, this isn't picked up by MY_Config. Possibly due to MY_Config not being loaded yet? |
|
| 43 | +if(file_exists(APPPATH.'config/_secure/email.php')) { |
|
| 44 | + include APPPATH.'config/_secure/email.php'; //CI BUG: For some odd reason, this isn't picked up by MY_Config. Possibly due to MY_Config not being loaded yet? |
|
| 45 | 45 | } |