Changeset 31952 for extensions/AntiAspi/initadmin.php
- Timestamp:
- Nov 27, 2018, 4:55:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AntiAspi/initadmin.php
r31362 r31952 12 12 } 13 13 14 function antiaspi_check_old_conf() 15 { 16 global $page; 17 18 $conf = array(); 19 20 $local_conf_filpath = PHPWG_ROOT_PATH. 'local/config/config.inc.php'; 21 if (file_exists($local_conf_filpath)) 22 { 23 @include($local_conf_filpath); 24 } 25 26 if (isset($conf['antiaspi'])) 27 { 28 $page['errors'][] = 'we have found some antiaspi settings in your local configuration, please remove it, no longer in use.'; 29 } 30 }
Note: See TracChangeset
for help on using the changeset viewer.