Forums / Cotonti / Core Labs / Archive / Adding legal code check to lang-files

As suggested by dervan

Trustmaster
#10244 2009-03-21 04:11
original post
So this topic is about using:
defined('SED_CODE') or die('Wrong URL.');
instead of old-style
if (!defined('SED_CODE')) { die('Wrong URL.'); }
so it shorter, looks a bit neater and works a bit faster
May the Source be with you!