mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 13:26:27 +02:00
debug database creation
This commit is contained in:
parent
0accc714c7
commit
15cd965580
2 changed files with 4 additions and 4 deletions
|
@ -4,8 +4,8 @@
|
|||
*/
|
||||
|
||||
//On définit les chemins
|
||||
define('PWD', '/Users/Romain/Sites/RaspiSMS/'); //On défini le chemin de base du site
|
||||
define('HTTP_PWD', (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost') . '/'); //On défini l'adresse url du site
|
||||
define('PWD', '/var/www/RaspiSMS/'); //On défini le chemin de base du site
|
||||
define('HTTP_PWD', (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost') . '/RaspiSMS/'); //On défini l'adresse url du site
|
||||
|
||||
define('PWD_IMG', PWD . 'img/'); //Chemin dossier des images
|
||||
define('HTTP_PWD_IMG', HTTP_PWD . 'img/'); //URL dossier des images
|
||||
|
@ -45,4 +45,4 @@
|
|||
define('DATABASE_HOST', 'localhost'); //Hote de la bdd
|
||||
define('DATABASE_NAME', 'raspisms'); //Nom de la bdd
|
||||
define('DATABASE_USER', 'root'); //Utilisateur de la bdd
|
||||
define('DATABASE_PASSWORD', 'root'); //Password de l'utilisateur
|
||||
define('DATABASE_PASSWORD', ''); //Password de l'utilisateur
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue