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,16 +94,12 @@ 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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue