mirror of
https://github.com/friendica/friendica
synced 2025-04-29 13:04:23 +02:00
The boot.php had been cleared of most functions
This commit is contained in:
parent
4989d1fa99
commit
63da4a75e9
37 changed files with 279 additions and 401 deletions
|
@ -24,7 +24,7 @@ namespace Friendica\Core\Lock\Type;
|
|||
use Friendica\Core\Cache\Enum\Duration;
|
||||
use Friendica\Core\Lock\Enum\Type;
|
||||
use Friendica\Core\Lock\Exception\InvalidLockDriverException;
|
||||
use function get_temppath;
|
||||
use Friendica\Core\System;
|
||||
|
||||
class SemaphoreLock extends AbstractLock
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ class SemaphoreLock extends AbstractLock
|
|||
{
|
||||
$success = true;
|
||||
|
||||
$temp = get_temppath();
|
||||
$temp = System::getTempPath();
|
||||
|
||||
$file = $temp . '/' . $key . '.sem';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue