Closed queued closed 11 years ago
To prevent the system from loading the DB constant as string, it has been changed to the relative path through the database file.
DB constant
relative path
The $db variable on the db() method has been improved to verify if the variable is an instance of the PDO class.
$db
db()
Minor changes on the index.php and their assets.
index.php
I appreciate the cleanup. However, the logic for the PDO instance and UTF-8 meta tag seem incorrect. I'll fix those.
To prevent the system from loading the
DB constant
as string, it has been changed to therelative path
through the database file.The
$db
variable on thedb()
method has been improved to verify if the variable is an instance of the PDO class.Minor changes on the
index.php
and their assets.