mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 15:46:44 +02:00
New constant: e_VERSION for the currently installed version of e107. Prevents the need for further loading of ver.php and useful to detect when an upgrade of core files has been performed.
This commit is contained in:
@@ -875,11 +875,11 @@ class xmlClass
|
||||
public function e107Export($xmlprefs, $tables, $plugPrefs, $options = array())
|
||||
{
|
||||
// error_reporting(0);
|
||||
$e107info = array();
|
||||
require_once(e_ADMIN."ver.php");
|
||||
// $e107info = array();
|
||||
// require_once(e_ADMIN."ver.php");
|
||||
|
||||
$text = "<?xml version='1.0' encoding='utf-8' ?".">\n";
|
||||
$text .= "<e107Export version=\"".$e107info['e107_version']."\" timestamp=\"".time()."\" >\n";
|
||||
$text .= "<e107Export version=\"".e_VERSION."\" timestamp=\"".time()."\" >\n";
|
||||
|
||||
$default = array();
|
||||
$excludes = array();
|
||||
|
Reference in New Issue
Block a user