diff --git a/plugins/php/index.py b/plugins/php/index.py index a07d10e66..709959679 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -39,7 +39,7 @@ def getServerDir(): def getInitDFile(version): current_os = mw.getOs() - if getOs() == 'darwin': + if current_os == 'darwin': return '/tmp/' + getPluginName() if current_os.startswith('freebsd'):