replace dirname(__FILE__) to __DIR__ (php 5.3)
minor phpdocs improvements and fox possible php notice (undefined variable $dblist)
Merge pull request #477 from Gemorroj/master

replace dirname(__FILE__) to __DIR__