Remove descartes from url, change raspbian france to raspberrypifr

This commit is contained in:
osaajani 2019-11-08 18:25:38 +01:00
parent dc94c46bea
commit 1ae58220b8
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
/* /*
* Define Descartes env * Define Descartes env
*/ */
$http_dir_path = '/descartes'; //Path we need to put after servername in url to access app $http_dir_path = ''; //Path we need to put after servername in url to access app
$http_protocol = (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://'; $http_protocol = (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://';
$http_server_name = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost'; $http_server_name = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost';
$http_server_port = isset($_SERVER['SERVER_PORT']) ? ($_SERVER['SERVER_PORT'] == 80) ? '' : ':' . $_SERVER['SERVER_PORT'] : ''; $http_server_port = isset($_SERVER['SERVER_PORT']) ? ($_SERVER['SERVER_PORT'] == 80) ? '' : ':' . $_SERVER['SERVER_PORT'] : '';