/** * @package Pizzaria Meveana * * MACHINE-SPECIFIC CONFIGURATION SETTINGS * * The configuration settings in this file can be changed to suit the * machine on which the app is running (ex. local, staging or production). * * This file should not be added to version control, rather a template * file should be added instead and then copied for each install */ require_once 'verysimple/Phreeze/ConnectionSetting.php'; require_once "verysimple/HTTP/RequestUtil.php"; /** database connection settings */ GlobalConfig::$CONNECTION_SETTING = new ConnectionSetting(); GlobalConfig::$CONNECTION_SETTING->ConnectionString = ":3306"; GlobalConfig::$CONNECTION_SETTING->DBName = "test"; GlobalConfig::$CONNECTION_SETTING->Username = "******"; GlobalConfig::$CONNECTION_SETTING->Password = ""; GlobalConfig::$CONNECTION_SETTING->Type = "MySQL_PDO"; GlobalConfig::$CONNECTION_SETTING->Charset = "utf8"; GlobalConfig::$CONNECTION_SETTING->Multibyte = true; // GlobalConfig::$CONNECTION_SETTING->BootstrapSQL = "SET SQL_BIG_SELECTS=1"; /** the root url of the application with trailing slash, for example http://localhost/pizzaria meveana/ */ GlobalConfig::$ROOT_URL = RequestUtil::GetServerRootUrl() . 'meveana/'; /** timezone */ // date_default_timezone_set("UTC"); /** functions for php 5.2 compatibility */ if (!function_exists('lcfirst')) { function lcfirst($string)