mecha-cms / mecha

Minimalist content management system.

Home Page:https://mecha-cms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename `DEBUG` to `TEST`

taufik-nurrohman opened this issue · comments

DEBUG is constructed by two word: DE·BUG and I don’t like it. TEST would be more appropriate since we also have test() function.

if (defined('TEST') && TEST) {
    test($_SERVER);
    exit;
}