Update config.php

define('__DIR__', dirname(__FILE__))  加上单引号
Merge pull request #11 from lijianwei123/patch-1

thank you very much for your commits