Revision 1948
Added by darkviper about 12 years ago
| index.php | ||
|---|---|---|
| 15 | 15 |
* |
| 16 | 16 |
*/ |
| 17 | 17 |
|
| 18 |
// compatibility between old and new access file format |
|
| 19 |
if (isset($iPageId)) { $page_id = $iPageId; }
|
|
| 20 |
if (isset($page_id) && !isset($iPageId)) { $iPageId = $page_id; }
|
|
| 18 | 21 |
// Include config file |
| 19 | 22 |
$config_file = dirname(__FILE__).'/config.php'; |
| 20 | 23 |
if(file_exists($config_file) && !defined('WB_URL'))
|
Also available in: Unified diff
added $page_id compatibility to /index.php
solved escaping problems on save to database in modules/droplets