Update: 2026-07-22 23:27:18
This commit is contained in:
@@ -10,6 +10,7 @@ function getInternalKey(): string {
|
||||
if ($envKey) return trim($envKey);
|
||||
$path = getenv('INTERNAL_SOCKET_KEY_PATH');
|
||||
if ($path && file_exists($path)) return trim((string)@file_get_contents($path));
|
||||
if (file_exists(__DIR__ . '/../loction-keys/.internal_socket_key')) return trim((string)@file_get_contents(__DIR__ . '/../loction-keys/.internal_socket_key'));
|
||||
if (file_exists('/keys/.internal_socket_key')) return trim((string)@file_get_contents('/keys/.internal_socket_key'));
|
||||
if (file_exists('/home/location/.internal_socket_key')) return trim((string)@file_get_contents('/home/location/.internal_socket_key'));
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user