]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Проверка .env isDevelop feature_filippov_20250121_dev_test origin/feature_filippov_20250121_dev_test
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Tue, 21 Jan 2025 20:57:37 +0000 (23:57 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Tue, 21 Jan 2025 20:57:37 +0000 (23:57 +0300)
.gitignore
erp24/controllers/DevTestController.php [new file with mode: 0644]

index 19f1e663f9f787cbd76c1f299bdcea3ef23c63d2..54c0f1396df1c1a05acfb4e8600f3f04fb7c44ec 100644 (file)
@@ -5,6 +5,7 @@ erp24/cache
 erp24/runtime
 erp24/web/dist
 .idea
+.env
 erp24/api1/runtime
 erp24/api2/runtime
 erp24/api1/views/cron/txt/
diff --git a/erp24/controllers/DevTestController.php b/erp24/controllers/DevTestController.php
new file mode 100644 (file)
index 0000000..944ae0f
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+declare(strict_types = 1);
+
+namespace app\controllers;
+
+use yii_app\services\TelegramService;
+
+class DevTestController extends \yii\web\Controller
+{
+
+    public function actionIndex()
+    {
+        $result = TelegramService::isDevEnv();
+        var_dump($result);
+        die;
+    }
+
+}
\ No newline at end of file