Project

General

Profile

Fehler #104

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

Added by Viktor Szépe almost 6 years ago. Updated almost 6 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!

History

#1 Updated by Viktor Szépe almost 6 years ago

...for all Joomla versions.

Also available in: Atom PDF