Changeset 1006
- Timestamp:
- 06/28/12 20:31:48 (11 months ago)
- Files:
-
- 1 modified
-
ngcms/trunk/engine/includes/inc/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ngcms/trunk/engine/includes/inc/functions.inc.php
r996 r1006 2066 2066 // RULE is: <ENTRY1>[|<ENTRY2>[|<ENTRY3>...]] 2067 2067 // ENTRY1,2,.. is: <PLUGIN>[:<HANDLER>] 2068 function twigIsHandler($rule ) {2068 function twigIsHandler($rules) { 2069 2069 global $config, $CurrentHandler; 2070 2070 2071 2071 $ruleCatched = false; 2072 foreach (preg_split("#\|#", $ v[2]) as $rule) {2072 foreach (preg_split("#\|#", $rules) as $rule) { 2073 2073 if (preg_match("#^(.+?)\:(.+?)$#", $rule, $pt)) { 2074 2074 // Specified: Plugin + Handler