Bug fixes
This commit is contained in:
parent
9f81946701
commit
a6aa1776c4
|
@ -1,8 +1,7 @@
|
||||||
Diego Najar
|
Diego Najar
|
||||||
|
|
||||||
—————————
|
—————————
|
||||||
|
|
||||||
ToDO
|
ToDO list
|
||||||
- Social links: Google+, Facebook y Twitter
|
- Social links: Google+, Facebook y Twitter
|
||||||
- Plugins: Edit databases from Dashboard
|
- Plugins: Edit databases from Dashboard
|
||||||
- Plugins: SEO, Tinymce,
|
- Plugins: SEO, Tinymce,
|
||||||
|
|
|
@ -19,14 +19,14 @@ function buildPost($key)
|
||||||
// Post object.
|
// Post object.
|
||||||
$Post = new Post($key);
|
$Post = new Post($key);
|
||||||
if( !$Post->isValid() ) {
|
if( !$Post->isValid() ) {
|
||||||
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from file with key'.$key);
|
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from file with key: '.$key);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Page database.
|
// Page database.
|
||||||
$db = $dbPosts->getDb($key);
|
$db = $dbPosts->getDb($key);
|
||||||
if( !$db ) {
|
if( !$db ) {
|
||||||
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from database with key'.$key);
|
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from database with key: '.$key);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue