Example #1
0
File: conf.php Project: stripTM/acd
    public static $ROL_EDITOR;
    public static $MYSQL_SERVER;
    public static $MYSQL_USER;
    public static $MYSQL_PASSWORD;
    public static $MYSQL_SCHEMA;
    public static $MONGODB_SERVER;
}
conf::$DIR_TEMPLATES = DIR_BASE . '/app/view';
conf::$DATA_PATH = '/mnt/contenido/acd/structures.json';
conf::$DATA_DIR_PATH = '/mnt/contenido/acd/structures';
conf::$DATA_CONTENT_PATH = '/mnt/contenido/acd/contents';
conf::$STORAGE_TYPE_TEXTPLAIN = 'text/plain';
conf::$STORAGE_TYPE_MONGODB = 'mongodb';
conf::$STORAGE_TYPE_MYSQL = 'mysql';
conf::$STORAGE_TYPES = [conf::$STORAGE_TYPE_TEXTPLAIN => ['name' => 'text/plain', 'disabled' => true], conf::$STORAGE_TYPE_MONGODB => ['name' => 'Mongo DB', 'disabled' => false], conf::$STORAGE_TYPE_MYSQL => ['name' => 'MySql', 'disabled' => true]];
conf::$DEFAULT_STORAGE = conf::$STORAGE_TYPE_MONGODB;
conf::$PERMISSION_PATH = '/mnt/contenido/acd/permission.json';
conf::$USE_AUTHENTICATION = true;
conf::$AUTH_PERSITENT_EXPIRATION_TIME = 31536000;
// 1 year
conf::$PATH_AUTH_CREDENTIALS_FILE = '/mnt/contenido/acd/auth.json';
conf::$PATH_AUTH_PREMANENT_LOGIN_DIR = '/mnt/contenido/acd/auth_permanent_login';
conf::$ROL_DEVELOPER = 'developer';
conf::$ROL_EDITOR = 'editor';
conf::$MYSQL_SERVER = 'localhost';
conf::$MYSQL_USER = '******';
conf::$MYSQL_PASSWORD = '******';
conf::$MYSQL_SCHEMA = 'acd';
conf::$MONGODB_SERVER = 'mongodb://plusdbspol01.prisadigital.int:27017,plusdbspol02.prisadigital.int:27017,plusdbspol03.prisadigital.int:27017/?replicaSet=ReplicaPlusProduccion';
// Developer / local / personal  configuration
// Default  environment  for develop is 'local', in production environment  conf.devel.php does not exist