dg / dibi

Dibi - smart database abstraction layer

Home Page:https://dibiphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class dibi case

zabous opened this issue · comments

Why is class name "dibi" lowercase?
All other sub classes (Dibi\Connection, Dibi\Row, Dibi\Result, Dibi\Fluent,... ) are first upper case?
Do you plan to change it?
Thanks...

I also encountered this problem. When I used downloaded phar from release.

My quick fix:

require_once 'phar://' . LIBS_PATH . '/dibi.phar';
require_once 'phar://' . LIBS_PATH . '/dibi.phar/Dibi/dibi.php';

It's just the way it is historically.