Fix rights, add confs apache, add prototype of systemd confs, add scripts to start and stop raspisms

This commit is contained in:
osaajani 2020-01-09 11:28:25 +01:00
parent aa3189bfaa
commit 89d786a730
45 changed files with 95 additions and 2 deletions

View file

@ -4,7 +4,7 @@
/*
* Define Descartes env
*/
$http_dir_path = ''; //Path we need to put after servername in url to access app
$http_dir_path = '/raspisms'; //Path we need to put after servername in url to access app
$http_protocol = (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://';
$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'] : '';

0
descartes/exceptions/DescartesException404.php Normal file → Executable file
View file

View file

View file

View file

0
descartes/exceptions/DescartesExceptionSqlError.php Normal file → Executable file
View file

View file

0
descartes/load-environment.php Normal file → Executable file
View file