mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/10013] Fixed cache test to create intermediate directories.
PHPBB3-10013
This commit is contained in:
committed by
Igor Wiedler
parent
8de411cc25
commit
4e446277a5
@@ -41,4 +41,13 @@ class phpbb_test_case_helpers
|
||||
$this->expectedTriggerError = true;
|
||||
$this->test_case->setExpectedException($exceptionName, (string) $message, $errno);
|
||||
}
|
||||
|
||||
public function makedirs($path)
|
||||
{
|
||||
while (!file_exists($path))
|
||||
{
|
||||
$this->makedirs(dirname($path));
|
||||
mkdir($path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user