static function CreateIfNotExists($dir, $mode = 0777)
    {
        if (!self::Exists($dir))
        {
            self::Create($dir, $mode);
        }
    }
static function CreateIfNotExists($dir, $mode = 0777)
    {
        if (!self::Exists($dir))
        {
            self::Create($dir, $mode);
        }
    }
static function CreateIfNotExists ( $ dir , $ mode = 0777 ) { if ( ! self :: Exists ( $ dir ) ) { self :: Create ( $ dir , $ mode ) ; } }
Creates a folder if not exists
@param string $dir The folder path
@param string $mode The desired mode, applied only if folder is created
Creates a folder if not exists