Initial commit
This commit is contained in:
16
inc/bootstrap.php
Normal file
16
inc/bootstrap.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
const STORAGE_DIR = __DIR__ . '/../data';
|
||||
const STORAGE_RUN_DIR = __DIR__ . '/../run';
|
||||
|
||||
require_once __DIR__ . '/lib/YandexIoT.php';
|
||||
require_once __DIR__ . '/lib/Prometheus.php';
|
||||
require_once __DIR__ . '/lib/Narodmon.php';
|
||||
|
||||
/** Идентификатор устройства народного мониторинга */
|
||||
const NARODMON_DEVICE_ID = 'AE-71-70-50-00-01';
|
||||
|
||||
// Яндекс IoT
|
||||
const STORAGE_YANDEX_FILE = STORAGE_DIR . '/yandexTokenData.txt';
|
||||
const YANDEX_CLIENT_ID = 'ee129ac1d4384bb3b1a316834c2029bc';
|
||||
const YANDEX_CLIENT_SECRET = 'b2777cb489794901828581184623b22a';
|
||||
Reference in New Issue
Block a user