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'):