]>
Commit | Line | Data |
---|---|---|
9392ba85 ER |
1 | This patch is to resolve PHP Warning: |
2 | ||
3 | PHP Notice: Use of undefined constant SID - assumed 'SID' in /usr/share/eventum/include/class.template.php on line 202 | |
4 | ||
5 | The problem is that SID constant gets defined only if session_start() has been called (or you autostart session). | |
6 | And the second issue is that this SID is never used in templates or classes. | |
7 | ||
8 | so i'm removing it. | |
9 | ||
10 | --- eventum-20060725/include/class.template.php~ 2006-07-25 10:34:23.330668461 +0300 | |
11 | +++ eventum-20060725/include/class.template.php 2006-07-26 11:27:17.567040087 +0300 | |
12 | @@ -199,7 +199,6 @@ | |
13 | $this->assign("app_base_url", APP_BASE_URL); | |
14 | $this->assign("rel_url", APP_RELATIVE_URL); | |
15 | $this->assign("locale", APP_CURRENT_LOCALE); | |
16 | - $this->assign("SID", SID); | |
17 | ||
18 | // now for the browser detection stuff | |
19 | Net_UserAgent_Detect::detect(); |