Skip to content

Commit

Permalink
Update admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lcherone authored Mar 12, 2018
1 parent 792fe88 commit 504970b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/module/cms/action/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2122,6 +2122,10 @@ public function objects(\Base $f3, $params)
*/
public function settings(\Base $f3, $params)
{
if (!file_exists(getcwd().'/backups')) {
mkdir(getcwd().'/backups');
}

switch ($params['sub_action']) {
/**
*
Expand Down

0 comments on commit 504970b

Please sign in to comment.