1
|
<?php
|
2
|
/**
|
3
|
* The new 'info.ini' is mandatory from 2.8.4 !!!
|
4
|
* This file 'info-php' is for backward compatibility only!!!!!
|
5
|
* From 2.8.4 new core methods will no longer use the old vars from info.php!
|
6
|
* It will be removed at least at 1th of June 2015 !!!!
|
7
|
*/
|
8
|
if (!defined('SYSTEM_RUN')) die('illegal access!');
|
9
|
$aX = UpgradeHelper::convInfoIni2InfoPhp(__DIR__);
|
10
|
if ($aX) {
|
11
|
$sPrefix = array_shift($aX);
|
12
|
extract($aX, EXTR_PREFIX_ALL, $sPrefix);
|
13
|
} else {
|
14
|
throw new AppException('error on converting values from '.basename(__DIR__).'/info.ini');
|
15
|
}
|
16
|
|