mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Adding tests
This commit is contained in:
parent
318a3ca785
commit
edd4f06ad0
8 changed files with 520 additions and 43 deletions
|
@ -17,7 +17,7 @@ class BasePath
|
|||
*
|
||||
* @throws \Exception if directory isn't usable
|
||||
*/
|
||||
public static function create($basePath, $server = [])
|
||||
public static function create($basePath, array $server = [])
|
||||
{
|
||||
if (!$basePath && !empty($server['DOCUMENT_ROOT'])) {
|
||||
$basePath = $server['DOCUMENT_ROOT'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue