diff --git a/.gitignore b/.gitignore index 1015a24afa6..92887184880 100644 --- a/.gitignore +++ b/.gitignore @@ -143,7 +143,7 @@ third_party/theseer/ third_party/vimeo/ third_party/webmozart/ upload/templates/ - +assets/packages/ckeditor/samples ## ignore Vagrantfile and Adminer diff --git a/application/commands/DemomodeCommand.php b/application/commands/DemomodeCommand.php index aa559fbd20b..2b4dd36645a 100644 --- a/application/commands/DemomodeCommand.php +++ b/application/commands/DemomodeCommand.php @@ -104,6 +104,7 @@ private function _resetFiles() $sBaseUploadDir = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'upload'; SureRemoveDir($sBaseUploadDir.DIRECTORY_SEPARATOR.'surveys', false, ['index.html']); + SureRemoveDir($sBaseUploadDir.DIRECTORY_SEPARATOR.'global', false, ['index.html']); SureRemoveDir($sBaseUploadDir.DIRECTORY_SEPARATOR.'templates', false); SureRemoveDir($sBaseUploadDir.DIRECTORY_SEPARATOR.'themes'.DIRECTORY_SEPARATOR.'survey', false, ['index.html']); SureRemoveDir($sBaseUploadDir.DIRECTORY_SEPARATOR.'themes'.DIRECTORY_SEPARATOR.'question', false);