fix: skip open_basedir file_exists on ldid so IPA signing can run

PHP-FPM open_basedir is project + /tmp, so file_exists('/usr/bin/ldid')
aborts the channel build after the row is created.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-10-05 23:25:41 +00:00
parent 07d97f383c
commit 9c2bc4b226
3 changed files with 33 additions and 29 deletions
+3 -1
View File
@@ -259,6 +259,8 @@ return [
'com.global.wallet.ios',
'ph.telegra.Telegraph',
],
'ldid_path' => env('LDID_PATH', '/usr/bin/ldid'),
// Prefer a copy under bin/ so open_basedir can see it. /usr/bin/ldid
// still works via proc_open if LDID_PATH points there.
'ldid_path' => env('LDID_PATH', base_path('bin/ldid')),
];