method getLogPath documentation in bbn\Cron\Common
function(array $cfg, bool $error = false, bool $no_path = false)
{
$path = null;
if ($this->path && (isset($cfg['type']) || isset($cfg['id']))) {
if ( $error ){
$path = $this->path.'error/'.(isset($cfg['id']) ? 'tasks/'.$cfg['id'] : $cfg['type']);
}
else {
$path = $this->path.'log/'.(isset($cfg['id']) ? 'tasks/'.$cfg['id'] : $cfg['type']);
}
if ($error || $no_path) {
$path .= '/';
}
else {
$path = \bbn\X::makeStoragePath($path);
}
}
return $path;
}
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-2024
BBN Solutions