Bug fixes
This commit is contained in:
parent
33b3845bba
commit
9d70805010
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue