Fix deploy script __DIR__ constant usage

It doesn't work when embedded in string like " ${__DIR__} " though it
does when concatenated to another string like __DIR__ . "/index.php"