minor fixes
This commit is contained in:
parent
20da75fcf3
commit
3ae41bd710
@ -126,10 +126,9 @@ class dbPages extends dbJSON
|
||||
$newKey = $this->generateKey($args['slug'], $args['parent'], false, $args['key']);
|
||||
|
||||
// If the page is draft then the created time is the current
|
||||
if( $this->db[$args['key']]['status']=='draft' ) {
|
||||
if ($this->db[$args['key']]['status']=='draft') {
|
||||
$args['date'] = Date::current(DB_DATE_FORMAT);
|
||||
}
|
||||
else {
|
||||
} elseif (!Valid::date($args['date'], DB_DATE_FORMAT)) {
|
||||
$args['date'] = $this->db[$args['key']]['date'];
|
||||
}
|
||||
|
||||
|
BIN
bl-themes/lingonberry/favicon.png
Normal file
BIN
bl-themes/lingonberry/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@ -5,6 +5,8 @@
|
||||
echo Theme::headTitle();
|
||||
echo Theme::headDescription();
|
||||
|
||||
echo Theme::favicon('favicon.png');
|
||||
|
||||
echo Theme::css(array(
|
||||
'css/style.css',
|
||||
'css/bludit.css'
|
||||
|
Loading…
Reference in New Issue
Block a user