Revision 2114
Added by darkviper almost 11 years ago
| info.php | ||
|---|---|---|
| 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 |
|
|
| 0 | 17 | |
Also available in: Unified diff
+ framework/UpgradeHelper additiona vars to method convInfoIni2InfoPhp()
! module/show_menu2/ the directoryname of this 'Snippet' has been changed to ShowMenu2.
- show_menu2: The Flag SM2::BUFFER has been removed
+ show_menu2: The Flag SM2::NOBUFFER was added