From f0ba28fc1df881fa17e8f1670ca8261c5d416bd3 Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Tue, 25 Aug 2015 18:10:07 +0200 Subject: Set namespace on Advisor, Config, Console and Util classes. Set namespace on DbQbe. Set namespace to 'DbSearch'. Split Advisor.class.php file. Change Advisor namespace. Rename DbQbe class and file. Set namespace on DisplayResults. Set namespace on Error. Use namespace for ErrorHandler. Add class autoloader. Change ErrorHandler filename. Remove some require. Update Config namespace path. Update PMA_Util to PMA\libraries\Util. Rename Font and File classes files. Use namespace for Footer. Set namespace in all libraries classes. Namespace OutputBuffering. Export SubPartition. Rename Partition file. Namespace PDF. Namespace RecentFavoriteTable. Replace PMA_Response by Response and PMA_Message by Message. Update uses and calls. Fix unit tests. Fix SqlParser autoload. Signed-off-by: Hugues Peccatte --- version_check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'version_check.php') diff --git a/version_check.php b/version_check.php index ae097e88df..581e18383c 100644 --- a/version_check.php +++ b/version_check.php @@ -9,12 +9,12 @@ // Sets up the session define('PMA_MINIMUM_COMMON', true); require_once 'libraries/common.inc.php'; -require_once 'libraries/Util.class.php'; +require_once 'libraries/Util.php'; // Always send the correct headers header('Content-type: application/json; charset=UTF-8'); -$version = PMA_Util::getLatestVersion(); +$version = PMA\libraries\Util::getLatestVersion(); if (empty($version)) { echo json_encode(array()); -- cgit v1.2.3