@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link http://www.yiiframework.com/ |
|
| 4 | - * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 5 | - * @license http://www.yiiframework.com/license/ |
|
| 6 | - */ |
|
| 3 | + * @link http://www.yiiframework.com/ |
|
| 4 | + * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 5 | + * @license http://www.yiiframework.com/license/ |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace app\assets; |
| 9 | 9 | |
@@ -36,9 +36,9 @@ |
||
| 36 | 36 | 'mail' => [ |
| 37 | 37 | 'class' => 'yii\swiftmailer\Mailer', |
| 38 | 38 | 'transport' => [ |
| 39 | - 'class' => 'Swift_SmtpTransport', |
|
| 40 | - 'host' => 'host-here', |
|
| 41 | - ], |
|
| 39 | + 'class' => 'Swift_SmtpTransport', |
|
| 40 | + 'host' => 'host-here', |
|
| 41 | + ], |
|
| 42 | 42 | ], |
| 43 | 43 | 'i18n' => [ |
| 44 | 44 | 'translations' => [ |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | 'data' => 'LONGBLOB' |
| 98 | 98 | ]); |
| 99 | 99 | |
| 100 | - $this->createTable('{{%AuthRule}}', [ |
|
| 100 | + $this->createTable('{{%AuthRule}}', [ |
|
| 101 | 101 | 'name' => Schema::TYPE_STRING . '(64) NOT NULL', |
| 102 | 102 | 'data' => Schema::TYPE_TEXT, |
| 103 | 103 | 'created_at' => Schema::TYPE_INTEGER, |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Application requirement checker script. |
|
| 4 | - * |
|
| 5 | - * In order to run this script use the following console command: |
|
| 6 | - * php requirements.php |
|
| 7 | - * |
|
| 8 | - * In order to run this script from the web, you should copy it to the web root. |
|
| 9 | - * If you are using Linux you can create a hard link instead, using the following command: |
|
| 10 | - * ln requirements.php ../requirements.php |
|
| 11 | - */ |
|
| 3 | + * Application requirement checker script. |
|
| 4 | + * |
|
| 5 | + * In order to run this script use the following console command: |
|
| 6 | + * php requirements.php |
|
| 7 | + * |
|
| 8 | + * In order to run this script from the web, you should copy it to the web root. |
|
| 9 | + * If you are using Linux you can create a hard link instead, using the following command: |
|
| 10 | + * ln requirements.php ../requirements.php |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | // you may need to adjust this path to the correct Yii framework path |
| 14 | 14 | $frameworkPath = dirname(__FILE__) . '/vendor/yiisoft/yii2'; |
@@ -28,7 +28,8 @@ discard block |
||
| 28 | 28 | <?php endif; ?> |
| 29 | 29 | </p> |
| 30 | 30 | |
| 31 | - <?php else: ?> |
|
| 31 | + <?php else { |
|
| 32 | + : ?> |
|
| 32 | 33 | |
| 33 | 34 | <p> |
| 34 | 35 | If you have business inquiries or other questions, please fill out the following form to contact us. Thank you. |
@@ -36,7 +37,9 @@ discard block |
||
| 36 | 37 | |
| 37 | 38 | <div class="row"> |
| 38 | 39 | <div class="col-lg-5"> |
| 39 | - <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?> |
|
| 40 | + <?php $form = ActiveForm::begin(['id' => 'contact-form']); |
|
| 41 | +} |
|
| 42 | +?> |
|
| 40 | 43 | <?php echo $form->field($model, 'name'); ?> |
| 41 | 44 | <?php echo $form->field($model, 'email'); ?> |
| 42 | 45 | <?php echo $form->field($model, 'subject'); ?> |