From 9a8ad348d51482237487c64e36b68896461495c5 Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Wed, 12 Dec 2018 15:27:50 +0900 Subject: [PATCH] Correction for linux system --- .htaccess | 2 +- src/Controller/{site => Site}/Index.php | 0 src/Controller/{site => Site}/SiteError.php | 0 src/Controller/{site => Site}/SiteRouter.php | 0 src/Model/BDD.php | 16 ++++++++-------- 5 files changed, 9 insertions(+), 9 deletions(-) rename src/Controller/{site => Site}/Index.php (100%) rename src/Controller/{site => Site}/SiteError.php (100%) rename src/Controller/{site => Site}/SiteRouter.php (100%) diff --git a/.htaccess b/.htaccess index cc25ad3..c7d96d4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,4 @@ -Options +FollowSymlinks +# Options +FollowSymlinks RewriteEngine on RewriteBase / diff --git a/src/Controller/site/Index.php b/src/Controller/Site/Index.php similarity index 100% rename from src/Controller/site/Index.php rename to src/Controller/Site/Index.php diff --git a/src/Controller/site/SiteError.php b/src/Controller/Site/SiteError.php similarity index 100% rename from src/Controller/site/SiteError.php rename to src/Controller/Site/SiteError.php diff --git a/src/Controller/site/SiteRouter.php b/src/Controller/Site/SiteRouter.php similarity index 100% rename from src/Controller/site/SiteRouter.php rename to src/Controller/Site/SiteRouter.php diff --git a/src/Model/BDD.php b/src/Model/BDD.php index 53a2ca4..7a8d013 100644 --- a/src/Model/BDD.php +++ b/src/Model/BDD.php @@ -6,15 +6,15 @@ use Exception; use PDO; class BDD { -// const SQL_SERVER = 'http://web3.pulseheberg.net'; // BDD Server -// const SQL_LOGIN = 'why7n0_fitness'; // BDD Login -// const SQL_PASSWORD = 'KpB728zu'; // BDD Password -// const SQL_DB = 'why7n0_fitness'; // BDD Name + const SQL_SERVER = 'web3.pulseheberg.net'; // BDD Server + const SQL_LOGIN = 'why7n0_fitness'; // BDD Login + const SQL_PASSWORD = 'KpB728zu'; // BDD Password + const SQL_DB = 'why7n0_fitness'; // BDD Name - const SQL_SERVER = 'localhost'; // BDD Server - const SQL_LOGIN = 'root'; // BDD Login - const SQL_PASSWORD = ''; // BDD Password - const SQL_DB = 'fitness'; // BDD Name +// const SQL_SERVER = 'localhost'; // BDD Server +// const SQL_LOGIN = 'root'; // BDD Login +// const SQL_PASSWORD = ''; // BDD Password +// const SQL_DB = 'fitness'; // BDD Name private static $bdd;