From 5490197b8a99977f6821b6cdc287e98e9f29f731 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 24 Aug 2023 18:58:16 +0800 Subject: [PATCH] Update index.py --- plugins/php/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/php/index.py b/plugins/php/index.py index 5d699f221..a07d10e66 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -349,7 +349,7 @@ def reload(version): def initdStatus(version): current_os = mw.getOs() - if getOs() == 'darwin': + if current_os == 'darwin': return "Apple Computer does not support" if current_os.startswith('freebsd'): @@ -366,7 +366,7 @@ def initdStatus(version): def initdInstall(version): current_os = mw.getOs() - if getOs() == 'darwin': + if current_os == 'darwin': return "Apple Computer does not support" if current_os.startswith('freebsd'):