Because when you create this kind of mod does not even prepare for later?
Example:
- <?php
- /**
- *
- * @package Icy Phoenix
- * @version $Id$
- * @copyright (c) 2008 Icy Phoenix
- * @license http://opensource.org/licenses/GPL-license.php GNU Public License
- *
- */
- /*
- define('IN_ICYPHOENIX', true);
- if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
- if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
- include(IP_ROOT_PATH . 'common.' . PHP_EXT);
- */
- define('IN_PHPBB', true);
- $phpbb_root_path = './';
- include($phpbb_root_path . 'extension.inc');
- include($phpbb_root_path . 'common.' . $phpEx);
As you can see from line 11 to line 16 syntax is prepared for new and future versions.
Tomorrow wants a move to the new version will not do anything else you delete the old routine and uncomment the new
Hello Fucile




















Georgia
