includes/sessions.php
changeset 1292 0e2e476e90e8
parent 1271 77accbee98f5
child 1314 29b14c220a78
equal deleted inserted replaced
1284:35380c89b5bf 1292:0e2e476e90e8
  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 indicates 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. Backtrace:<pre>" . htmlspecialchars(enano_debug_print_backtrace(true)) . "</pre>", 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 				{