[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,17 +94,13 @@ class phpbb_test_case_helpers
public function makedirs($path) public function makedirs($path)
{ {
if (!is_dir($path)) if (is_dir($path) || file_exists($path))
{ {
// Testing var_dump($path);
if (file_exists($path)) exit;
{
echo $path;
} }
mkdir($path, 0777, true); mkdir($path, 0777, true);
} }
}
static public function get_test_config() static public function get_test_config()
{ {