Merged in bugfix/PMC-1288 (pull request #7091)

PMC-1288
This commit is contained in:
Andrea Adamczyk
2019-10-07 13:00:56 +00:00
committed by Paula Quispe

View File

@@ -49,6 +49,17 @@ class DesignerTest extends TestCase
//Turn on output buffering
ob_start();
//Creates the buildhash file just in case it does not exist
if (!file_exists(PATH_HTML . "lib/buildhash")) {
if (!file_exists(PATH_HTML . "lib")) {
if (!file_exists(PATH_HTML)) {
mkdir(PATH_HTML);
}
mkdir(PATH_HTML . "lib");
}
fopen(PATH_HTML . "lib/buildhash", "w");
}
//Call the index method
$object->index($httpData);