c syntax_checker: fix php extension
This commit is contained in:
parent
0570e0605d
commit
e45183a71d
@ -180,7 +180,8 @@ endfunction
|
||||
function! s:CheckPhp()
|
||||
if executable('php-config')
|
||||
if !exists('s:php_flags')
|
||||
let s:php_flags = ' ' . system('php-config --includes')
|
||||
let s:php_flags = system('php-config --includes')
|
||||
let s:php_flags = ' ' . substitute(s:php_flags, "\n", '', '')
|
||||
endif
|
||||
return s:php_flags
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user