Bug fixes

This commit is contained in:
dignajar 2015-09-21 23:05:54 -03:00
parent 33b3845bba
commit 9d70805010
2 changed files with 2 additions and 0 deletions

View File

@ -335,6 +335,7 @@ class dbPages extends dbJSON
$fields['status'] = CLI_STATUS;
$fields['date'] = Date::current(DB_DATE_FORMAT);
$fields['username'] = 'admin';
//$tmpPaths = glob(PATH_PAGES.'*', GLOB_ONLYDIR);
$tmpPaths = Filesystem::listDirectories(PATH_PAGES);

View File

@ -395,6 +395,7 @@ class dbPosts extends dbJSON
$fields['status'] = CLI_STATUS;
$fields['date'] = $currentDate;
$fields['username'] = 'admin';
// Recovery posts from the first level of directories
$tmpPaths = Filesystem::listDirectories(PATH_POSTS);