mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
Merge d0a725af96
into cdedb023d7
This commit is contained in:
commit
2bb9230bd4
1 changed files with 2 additions and 3 deletions
|
@ -4,9 +4,8 @@
|
|||
*/
|
||||
|
||||
//On définit les chemins
|
||||
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', $filepath."/"); //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_IMG', PWD . 'img/'); //Chemin dossier des images
|
||||
define('HTTP_PWD_IMG', HTTP_PWD . 'img/'); //URL dossier des images
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue