Changeset 167 for trunk/class/config_from_xoops.class.php
- Timestamp:
- Apr 8, 2009, 6:46:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/class/config_from_xoops.class.php
r159 r167 56 56 if(file_exists($this->xoops_mainfile_path)){ 57 57 $array_file = file($this->xoops_mainfile_path); 58 $pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*( \'.*\'|".*"|[^\'"]*)\s*\)\s*;';58 $pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*([^\s]+.*)\s*\)\s*;'; 59 59 $impress_include_pattern = '^\s*(include_once|include)\s*\(\s*XOOPS_TRUST_PATH\s*.\s*[\'"]([^\'"]+)[\'"]\s*\)'; 60 60 for ($i = 0 ; $i <count($array_file) ; $i++){
Note: See TracChangeset
for help on using the changeset viewer.