From 7535ba972db11ae2165a384f8becc3e69bbdbb18 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 16 Dec 2012 23:04:13 +0100 Subject: [PATCH] Clarify comment --- frontend/rewrite.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/rewrite.php b/frontend/rewrite.php index 8d94c08..56f4187 100644 --- a/frontend/rewrite.php +++ b/frontend/rewrite.php @@ -40,8 +40,9 @@ $sMainContents = ""; $sMainClass = ""; $sPageTitle = ""; -// Initialize some variables to ensure they are available through the application. -// This works around the inability of CPHP to retain variables set in the first rewrite. +/* Initialize some variables to ensure that they are available throughout the application. + * Due to the way PHP variable scoping works (and the way CPHP works around this), variables + * are only available at the end of rewrite.php if they were set *before* routing the request. */ $sVps = null; $sPageContents = ""; $router = null;