Changeset 1155
- Timestamp:
- 12/25/06 14:34:54 (6 years ago)
- Location:
- trunk/wifidog-auth/wifidog/classes
- Files:
-
- 3 modified
-
Content.php (modified) (2 diffs)
-
ContentTypeFilter.php (modified) (1 diff)
-
Utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/Content.php
r1147 r1155 382 382 $candidate_reflector = new ReflectionClass($candidate); 383 383 //echo"classname: $classname, candidate: $candidate<br>"; 384 if ($classname_reflector->isSubclassOf($candidate_reflector)) { 384 if ($candidate == $classname || $classname_reflector->isSubclassOf($candidate_reflector)) { 385 //As of PHP5.2, it would apear that isSubclass means a strict sublclass, so the first check was added. 385 386 //The content meets the criteria 386 387 //echo "TRUE<br>"; … … 466 467 $content_type_filter = ContentTypeFilter :: getObject(array ()); 467 468 } 468 469 //pretty_print_r($content_type_filter); 469 470 $i = 0; 470 471 $tab = array (); -
trunk/wifidog-auth/wifidog/classes/ContentTypeFilter.php
r1118 r1155 104 104 { 105 105 foreach ($this->criteria_array as $criteria) { 106 //echo "call_user_func_array called with: ";106 //echo "call_user_func_array called on $classname with: "; 107 107 //pretty_print_r($criteria); 108 108 -
trunk/wifidog-auth/wifidog/classes/Utils.php
r1151 r1155 132 132 if($debug) 133 133 print "$command"; 134 exec($command.' 2>&1', & $output, & $retval); 134 $retval = null; 135 exec($command.' 2>&1', $output, $retval); 135 136 if($debug){ 136 137 if ($retval != 0)
