mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
The temporary paths (temp, lock, itemcache) are now detected automatically when used.
This commit is contained in:
parent
38fb43702f
commit
5ed5773f57
8 changed files with 75 additions and 13 deletions
|
@ -58,7 +58,7 @@ function onepoll_run(&$argv, &$argc){
|
|||
}
|
||||
|
||||
// Test
|
||||
$lockpath = get_config('system','lockpath');
|
||||
$lockpath = get_lockpath();
|
||||
if ($lockpath != '') {
|
||||
$pidfile = new pidfile($lockpath, 'onepoll'.$contact_id);
|
||||
if($pidfile->is_already_running()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue