[feature/twig] Trying some new debug code for this mkdir error

PHPBB3-11598
This commit is contained in:
Nathaniel Guse 2013-07-04 13:25:50 -05:00
parent fdbdd8bfd9
commit 8cf6dbd950

View file

@ -94,16 +94,12 @@ class phpbb_test_case_helpers
public function makedirs($path)
{
if (!is_dir($path))
if (is_dir($path) || file_exists($path))
{
// Testing
if (file_exists($path))
{
echo $path;
}
mkdir($path, 0777, true);
var_dump($path);
exit;
}
mkdir($path, 0777, true);
}
static public function get_test_config()