- Joined
- Oct 28, 2008
- Messages
- 379
- Reaction score
- 47
Hello, on this forum a lot of mods are posted for Xnova 0.9 or lower. I personaly have Xnova legancies 2009.2. If you use the files from xnova 0.9 in the legancies versions you'll get an error. This error is very easy to fix.
Ok, in the Xnova 0.9 versions include is still written in PHP 4.0 style while in Xnova legancies they have updated it to PHP 5.3 style.This means that including is now easier.
So you'll have to search for these lines (always on top of the file)
These lines are always under the lines that define the file.
Now you'll simply have to replace those lines with this line and you've fixed it.
press the thank you button if i helped
Ok, in the Xnova 0.9 versions include is still written in PHP 4.0 style while in Xnova legancies they have updated it to PHP 5.3 style.This means that including is now easier.
So you'll have to search for these lines (always on top of the file)
PHP:
$xnova_root_path = './';
include($xnova_root_path . 'extension.inc');
include($xnova_root_path . 'common.' . $phpEx);
Now you'll simply have to replace those lines with this line and you've fixed it.
PHP:
require_once dirname(__FILE__) .'/common.php';
press the thank you button if i helped
