[Phpmyadmin-devel] any odds against splitting common.lib.php into .lib.php and .inc.php?

Michal Čihař michal at cihar.com
Tue Mar 20 13:31:17 CET 2007


Hi

On Tue, 20 Mar 2007 13:24:54 +0100
Sebastian Mendel <lists at sebastianmendel.de> wrote:

> i would also drop the
> 
> if (!defined('PMA_MINIMUM_COMMON')) {
> 
> arround the functions, as i cannot think and do not detect any speed
> improvements upon this
> 
> the only thing where this would help if this 'not so' common function would
> be in another sperate file what is include
> if (!defined('PMA_MINIMUM_COMMON'))
> 
> common.inc.php:
> 
> require_once 'core.lib.php';
> if (! defined('PMA_MINIMUM_COMMON')) {
>     require_once 'common.lib.php'
> }

Okay for me.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20070320/2fc0b8f9/attachment.sig>


More information about the Developers mailing list