Commit e4fb37dd authored by Sigrid Suski's avatar Sigrid Suski

Error: 0 Can't find class Sobi\FileSystem\JFolder definition

parent 55520541
......@@ -224,7 +224,7 @@ abstract class FileSystem
public static function Mkdir( $path, $mode = 0755 )
{
$path = self::Clean( $path );
if ( !( JFolder::create( $path, $mode ) ) ) {
if ( !( \JFolder::create( $path, $mode ) ) ) {
throw new Exception( Framework::Txt( 'CANNOT_CREATE_DIR', str_replace( C::ROOT, null, $path ) ) );
}
else {
......@@ -239,7 +239,7 @@ abstract class FileSystem
*/
public static function Rmdir( $path )
{
return JFolder::delete( $path );
return \JFolder::delete( $path );
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment