| dervan |
|
|---|---|
|
IMO, it's need to check for legal running of code
now used code like this:
if (!defined('SED_CODE')) { die('Wrong URL.'); }
but this code is not convenient to Cotonti Coding Styleconventional code:
if (!defined('SED_CODE'))
{
die('Wrong URL.');
}
but this code is not compactcompact code with the same check:
defined('SED_CODE') or die('Wrong URL.');
i suggest to add this check in template:
<?php
/**
* LOCALE Language File for PLUG Plugin
*
* @package Cotonti
* @version VERSION
* @author Cotonti Translators Team
* @copyright Copyright (c) 2008-2009 Cotonti Team
* @license BSD
*/
defined('SED_CODE') or die('Wrong URL.');
/**
* Plugin Title & Subtitle
*/
|