@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | // Import System/Cli/Commands/MigrateCommand |
3 | -Yii::import('system.cli.commands.MigrateCommand'); |
|
3 | +Yii::import ('system.cli.commands.MigrateCommand'); |
|
4 | 4 | /** |
5 | 5 | * This class is an injection container for CDbMigration which permits us to |
6 | 6 | * directly access CDbMigrations from our web application without having |
@@ -21,10 +21,10 @@ discard block |
||
21 | 21 | * This is our overloaded getDbConnection, allowing us to tell yii what our db connection is |
22 | 22 | * without it having to go through |
23 | 23 | */ |
24 | - public function getDbConnection() |
|
24 | + public function getDbConnection () |
|
25 | 25 | { |
26 | - $connection = new CDbConnection("mysql:host={$this->dsn['host']};dbname={$this->dsn['dbname']}", $this->dsn['username'], $this->dsn['password']); |
|
27 | - $connection->setActive(true); |
|
26 | + $connection = new CDbConnection ("mysql:host={$this->dsn['host']};dbname={$this->dsn['dbname']}", $this->dsn['username'], $this->dsn['password']); |
|
27 | + $connection->setActive (true); |
|
28 | 28 | return $connection; |
29 | 29 | } |
30 | 30 | } |
31 | 31 | \ No newline at end of file |
@@ -16,6 +16,6 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'Unable to save change key' => '', |
21 | 21 | ); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'Invalid routing' => '', |
21 | 21 | '{{app_name}} | {{label}}' => '', |
22 | 22 | ); |
@@ -16,6 +16,6 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'This site is currently disabled. Please check back later.' => '', |
21 | 21 | ); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'All Content' => '', |
21 | 21 | 'Incorrect password' => '', |
22 | 22 | 'Password Required' => '', |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'A new verification email has been resent to {{user}}. Please check your email address.' => '', |
21 | 21 | 'Oops! That user doesn\'t exist on our network!' => '', |
22 | 22 | 'There was an error resending the verification email. Please try again later.' => '', |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'A password reset link has been sent to your email address' => '', |
21 | 21 | 'Accept Invitation' => '', |
22 | 22 | 'Activate Your Account' => '', |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'The requested post cannot be found.' => '', |
21 | 21 | 'The specified post cannot be found.' => '', |
22 | 22 | 'Use of CiiController::sendEmail is deprecated, and will be dropped in a future version. Use EmailSettings::send instead' => '', |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * NOTE, this file must be saved in UTF-8 encoding. |
18 | 18 | */ |
19 | -return array ( |
|
19 | +return array( |
|
20 | 20 | 'Activate Your Account' => '', |
21 | 21 | 'Your Password Reset Information' => '', |
22 | 22 | ); |