e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

Remove require_once() for known core handlers from all scripts. #125

Open CaMer0n opened 11 years ago

CaMer0n commented 11 years ago

eg. one might replace:

 require_once(e_HANDLER."message_handler.php");

with:

$mes = e107::getMessage();

(And test to make sure nothing breaks)

If we can get this done, @SecretR will be happy. :+1:

Moc commented 11 years ago

I've been adding them lately.. Oops. Will work on removing them :)