From a1fa4a445ad6a8b12fe606764588b619edab8d8f Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sat, 9 Nov 2013 21:33:43 +0100 Subject: Ajout de messages en cas de mauvaise configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Si fichier de conf inaccessible / mal configuré ou fichier de log inaccessible, on affiche des messages plus explicites qu'une page blanche --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index 9eee5dc54..b5333c5c0 100755 --- a/public/index.php +++ b/public/index.php @@ -55,6 +55,6 @@ if (file_exists (PUBLIC_PATH . '/install.php')) { $front_controller->run (); } catch (PDOConnectionException $e) { Minz_Log::record ($e->getMessage (), Minz_Log::ERROR); - print '### Application problem ###'."\n".'See logs files'; + print '### Application problem ###
'."\n".'See logs files'; } } -- cgit v1.2.3