- Timestamp:
- 10/04/08 11:10:40 (7 weeks ago)
- Location:
- events/phpframework/plain_php/trunk/core
- Files:
-
- 2 modified
-
Action.php (modified) (1 diff)
-
ApplicationContext.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/plain_php/trunk/core/Action.php
r20336 r20666 45 45 protected function setCookie($name, $val) 46 46 { 47 setcookie($name, $val, time() + $this->getConfig()->cookie_timeout , $this->context->cookiePath, $this->context->cookieDomain);47 setcookie($name, $val, time() + $this->getConfig()->cookie_timeout); 48 48 } 49 49 -
events/phpframework/plain_php/trunk/core/ApplicationContext.php
r20610 r20666 3 3 class ApplicationContext 4 4 { 5 protected $baseUrl, $basePath, $templateBaseUrl, $templateBasePath, $dsn, $dbUser, $dbPassword , $cookieDomain, $cookiePath;5 protected $baseUrl, $basePath, $templateBaseUrl, $templateBasePath, $dsn, $dbUser, $dbPassword; 6 6 function __get($name) 7 7 { … … 47 47 } 48 48 49 function setCookiePath($v)50 {51 $this->cookiePath = $v;52 return $this;53 }54 function setCookieDomain($v)55 {56 $this->cookieDomain = $v;57 return $this;58 }59 49 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)