mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 52649 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/roa ........ r52649 | ischommer | 2008-04-14 10:03:15 +1200 (Mon, 14 Apr 2008) | 1 line MINOR fixed php notice ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52643 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f337b048e5
commit
b039104acc
@ -184,7 +184,7 @@ class Director {
|
|||||||
if($matched) {
|
if($matched) {
|
||||||
|
|
||||||
if(substr($controller,0,2) == '->') {
|
if(substr($controller,0,2) == '->') {
|
||||||
if($_REQUEST['debug'] == 1) Debug::message("Redirecting to $controller");
|
if(isset($_REQUEST['debug']) && $_REQUEST['debug'] == 1) Debug::message("Redirecting to $controller");
|
||||||
|
|
||||||
if(isset($_GET['debug_profile'])) Profiler::unmark("Director","getControllerForURL");
|
if(isset($_GET['debug_profile'])) Profiler::unmark("Director","getControllerForURL");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user