mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/twig] Trying some new debug code for this mkdir error
PHPBB3-11598
This commit is contained in:
parent
fdbdd8bfd9
commit
8cf6dbd950
1 changed files with 4 additions and 8 deletions
|
@ -94,17 +94,13 @@ 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;
|
||||
var_dump($path);
|
||||
exit;
|
||||
}
|
||||
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
}
|
||||
|
||||
static public function get_test_config()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue