Changeset 489 for trunk/lib/App.inc.php
- Timestamp:
- Aug 31, 2014 10:12:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r487 r489 1270 1270 * @param string $value The value of the cookie. 1271 1271 * @param string $expire The time the cookie expires, as a unix timestamp or string value passed to strtotime. 1272 * @param string $path The path on the server in which the cookie will be available on 1273 * @param string $domain The domain that the cookie is available to 1272 * @param string $path The path on the server in which the cookie will be available on. 1273 * @param string $domain The domain that the cookie is available to. 1274 1274 * @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client. 1275 1275 * @param bool $httponly When TRUE the cookie will be made accessible only through the HTTP protocol (makes cookies unreadable to javascript). … … 1279 1279 * @since 02 May 2014 16:36:34 1280 1280 */ 1281 public function setCookie($name, $value, $expire='+10 years', $path= null, $domain=null, $secure=null, $httponly=null)1281 public function setCookie($name, $value, $expire='+10 years', $path='/', $domain=null, $secure=null, $httponly=null) 1282 1282 { 1283 1283 if (!is_scalar($name)) {
Note: See TracChangeset
for help on using the changeset viewer.