Есть ли другой способ сделать это? < /p>
Код: Выделить всё
class Config{
const DB_HOST = 'localhost';
const DB_USER = 'root';
const DB_PORT = 3306;
const DB_DATABASE = 'webshop_template_test';
const DB_PASSWORD = 'testpassword';
const TEMPLATE_PATH = '../src/Views/layout/index.main.php';
const APP_ROOT = "http://192.168.56.3/MyShop/";
public function __construct(){
}
}
Подробнее здесь: https://stackoverflow.com/questions/795 ... ng-classes
Мобильная версия