ComunicAPI/config/main.php

46 lines
815 B
PHP
Raw Permalink Normal View History

2017-05-17 12:01:36 +00:00
<?php
/**
* Main configuration file
*
* @author Pierre HUBERT
*/
/**
* The mode of the website
* debug / production
*/
$config->set("site_mode", "debug");
/**
* Storage URL
*
* The base url of the user_data folder
*/
$config->set("storage_url", "http://devweb.local/comunic/current/user_data/");
/**
* Storage PATH
*
* The path (on the server) pointing of the user_data folder
*/
2017-05-26 08:23:55 +00:00
$config->set("storage_path", "/home/pierre/Documents/projets_web/comunic/current/user_data/");
2017-05-17 12:01:36 +00:00
/**
* Database credentials
*
* The database must be a MySQL database
*/
$config->set("mysql", array(
"host" => "localhost",
"database" => "comunic",
2018-06-29 12:57:06 +00:00
"user" => "pierre",
"password" => "pierre"
2017-05-17 12:01:36 +00:00
));
2017-05-27 08:52:12 +00:00
/**
* Tables of database prefix
*
* For new tables only
*/
2018-06-29 12:57:06 +00:00
$config->set("dbprefix", "comunic_");