summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
commit4a2b17d54ab3714c4f567a43a7a2e701cd9a7b49 (patch)
treed3fa2b91aaa334a8e16f0aaa33aa144f282219c6 /public
parente13c6439d5ed02d1fe19ece070445f5f58b63e44 (diff)
Minz : nouveau Minz_Log::DEBUG
Nouveau niveau Minz_Log::DEBUG pour plus de finesse dans les messages
Diffstat (limited to 'public')
-rwxr-xr-xpublic/index.php5
-rw-r--r--public/themes/default/freshrss.css4
-rw-r--r--public/themes/flat-design/freshrss.css12
3 files changed, 15 insertions, 6 deletions
diff --git a/public/index.php b/public/index.php
index dc6da259d..1a1651707 100755
--- a/public/index.php
+++ b/public/index.php
@@ -54,8 +54,9 @@ if (file_exists (PUBLIC_PATH . '/install.php')) {
$front_controller = new App_FrontController ();
$front_controller->init ();
$front_controller->run ();
- } catch (PDOConnectionException $e) {
+ } catch (Exception $e) {
+ echo '### Fatal error! ###<br />', "\n";
Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
- print '### Application problem ###<br />'."\n".'See logs files';
+ echo 'See logs files.';
}
}
diff --git a/public/themes/default/freshrss.css b/public/themes/default/freshrss.css
index 81ff6d196..c8231f93d 100644
--- a/public/themes/default/freshrss.css
+++ b/public/themes/default/freshrss.css
@@ -677,6 +677,10 @@
background: #f4f4f4;
color: #aaa;
}
+ .log.debug {
+ background: #111;
+ color: #eee;
+ }
.form-group table {
border-collapse:collapse;
diff --git a/public/themes/flat-design/freshrss.css b/public/themes/flat-design/freshrss.css
index 498a02c1e..ef59abb4d 100644
--- a/public/themes/flat-design/freshrss.css
+++ b/public/themes/flat-design/freshrss.css
@@ -658,21 +658,25 @@ body {
color: #666;
font-size: 90%;
}
- .log .date {
+ .log>.date {
margin: 0 10px 0 0;
padding: 5px 10px;
border-radius: 20px;
}
- .log.error .date {
+ .log.error>.date {
background: #e74c3c;
color: #fff;
}
- .log.warning .date {
+ .log.warning>.date {
background: #f39c12;
}
- .log.notice .date {
+ .log.notice>.date {
background: #ecf0f1;
}
+ .log.debug>.date {
+ background: #111;
+ color: #eee;
+ }
.form-group table {
border-collapse:collapse;