1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Type checks and corrections for e_parse::thumbSrcSet()

This commit is contained in:
Nick Liu
2020-01-17 21:16:20 +01:00
parent 207ce81106
commit d1bdfb8546
2 changed files with 7 additions and 4 deletions

View File

@@ -160,11 +160,13 @@ class e_formTest extends \Codeception\Test\Unit
$this->assertTrue(false, "Couldn't load e_form object");
}
include_once(e_CORE."templates/admin_icons_template.php");
include_once(e_PLUGIN.'forum/forum_class.php');
include_once(e_PLUGIN.'forum/templates/forum_icons_template.php');
$legacyDir = APP_PATH."/e107_files/downloadimages/";
$legacyFile = APP_PATH."/e107_files/downloadimages/butterfly.jpg";
if(!is_dir($legacyDir))
{
mkdir($legacyDir, 0775, true);