Project

General

Profile

Actions

Fehler #104

open

extplorer's code has different ways of version checking AND some $_VERSION

Added by Viktor Szépe almost 12 years ago. Updated almost 12 years ago.

Status:
Neu
Priority:
Niedrig
Category:
ToDo
Target version:
-
eXtplorer Version:
2.1.2
Joomla! Version:
Joomla! 2.5

Description

I suggest one central function that queries Joomla version info for all Joomla version.

extplorer.list.php:
global $dir_up, $mosConfig_live_site, $_VERSION;

seems OK: function ext_isJoomla

header.php:
if( is_object( $GLOBALS['_VERSION'] ) || class_exists( 'jversion')) {

list.php:
global $dir_up, $mosConfig_live_site, $_VERSION;

a lot of language files: maybe a simple search&replace solves this

That is all.

All the best wishes to you!

Actions

Also available in: Atom PDF