Someone broke/disabled? the php check

This commit is contained in:
michael@discoursehosting.com 2017-04-02 20:35:43 +00:00
parent 7e27559f3e
commit 6168bcb4c4
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
private
def get_php_timezone
phpinfo, status = Open3.capture2('phpnope', '-i')
phpinfo, status = Open3.capture2('php', '-i')
phpinfo.lines.each do |line|
key, *vals = line.split(' => ').map(&:strip)
break vals[0] if key == 'Default timezone'