Update connect-php.js

Change made to accommodate directory paths with spaces.