Fix funzione directory
This commit is contained in:
parent
7a2c321352
commit
1d89f3b5af
|
@ -18,7 +18,7 @@ class FileSystem
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function directory($path)
|
public static function directory($path)
|
||||||
{
|
{
|
||||||
if (is_dir($path) && is_writable($path)) {
|
if (is_dir($path) && is_writable($path)) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue