From 81a4fdf0c9567f981807684a8083e5789b112b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 26 Jul 2010 16:35:24 +0200 Subject: [PATCH] No need for require_once for once included code. --- libraries/common.inc.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libraries/common.inc.php b/libraries/common.inc.php index d1a6d948f..80866fffa 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -49,7 +49,7 @@ if (!defined('E_DEPRECATED')) { /** * the error handler */ -require_once './libraries/Error_Handler.class.php'; +require './libraries/Error_Handler.class.php'; /** * initialize the error handler @@ -78,42 +78,42 @@ define('PHPMYADMIN', true); /** * core functions */ -require_once './libraries/core.lib.php'; +require './libraries/core.lib.php'; /** * Input sanitizing */ -require_once './libraries/sanitizing.lib.php'; +require './libraries/sanitizing.lib.php'; /** * the PMA_Theme class */ -require_once './libraries/Theme.class.php'; +require './libraries/Theme.class.php'; /** * the PMA_Theme_Manager class */ -require_once './libraries/Theme_Manager.class.php'; +require './libraries/Theme_Manager.class.php'; /** * the PMA_Config class */ -require_once './libraries/Config.class.php'; +require './libraries/Config.class.php'; /** * the relation lib, tracker needs it */ -require_once './libraries/relation.lib.php'; +require './libraries/relation.lib.php'; /** * the PMA_Tracker class */ -require_once './libraries/Tracker.class.php'; +require './libraries/Tracker.class.php'; /** * the PMA_Table class */ -require_once './libraries/Table.class.php'; +require './libraries/Table.class.php'; if (!defined('PMA_MINIMUM_COMMON')) { /** @@ -334,7 +334,7 @@ if ($GLOBALS['PMA_Config']->get('ForceSSL') /** * include session handling after the globals, to prevent overwriting */ -require_once './libraries/session.inc.php'; +require './libraries/session.inc.php'; /** * init some variables LABEL_variables_init @@ -478,7 +478,7 @@ if (! PMA_isValid($_REQUEST['token']) || $_SESSION[' PMA_token '] != $_REQUEST[' /** * Require cleanup functions */ - require_once './libraries/cleanup.lib.php'; + require './libraries/cleanup.lib.php'; /** * Do actual cleanup */