includes/sessions.php
changeset 1264 28c82f292a52
parent 1260 cd72bcd83401
child 1266 f3933b355229
equal deleted inserted replaced
1263:eb717f5c283f 1264:28c82f292a52
  3381 				$b = $deps;
  3381 				$b = $deps;
  3382 				if ( !$this->check_acl_scope($deps[$i], $paths->namespace) )
  3382 				if ( !$this->check_acl_scope($deps[$i], $paths->namespace) )
  3383 				{
  3383 				{
  3384 					// Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope.
  3384 					// Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope.
  3385 					// echo '<pre>' . enano_debug_print_backtrace(true) . '</pre>';
  3385 					// echo '<pre>' . enano_debug_print_backtrace(true) . '</pre>';
  3386 					trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $paths->namespace; this indicats a bug in ACL rule specification", E_USER_WARNING);
  3386 					trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $paths->namespace; this indicates a bug in ACL rule specification", E_USER_WARNING);
  3387 					return false;
  3387 					return false;
  3388 				}
  3388 				}
  3389 				$deps = array_merge($deps, $this->acl_deps[$deps[$i]]);
  3389 				$deps = array_merge($deps, $this->acl_deps[$deps[$i]]);
  3390 				if( $b == $deps )
  3390 				if( $b == $deps )
  3391 				{
  3391 				{