The temporary paths (temp, lock, itemcache) are now detected automatically when used.
This commit is contained in:
@@ -35,7 +35,7 @@ function cronhooks_run(&$argv, &$argc){
|
||||
}
|
||||
}
|
||||
|
||||
$lockpath = get_config('system','lockpath');
|
||||
$lockpath = get_lockpath();
|
||||
if ($lockpath != '') {
|
||||
$pidfile = new pidfile($lockpath, 'cronhooks');
|
||||
if($pidfile->is_already_running()) {
|
||||
|
||||
Reference in New Issue
Block a user