method historyClear documentation in bbn\Ide\Directories
function($url = '')
{
$path = BBN_USER_PATH.'ide/backup/';
}
if ( !empty($url) &&
( $dir = $this->dirFromUrl($url) ) &&
( $dir_cfg = $this->dir($dir) )
){
// Remove dir name from url
$file = substr($url, \strlen($dir), \strlen($url));
$path .= $dir . $file;
}
if ( is_dir($path) &&
bbn\File\Dir::delete($path, !empty($url))
){
return ['success' => 1];
}
$this->error('Error to delete the backup directory');
return false;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions