Ejemplo n.º 1
0
 /**
  * Set default path
  *
  * Sets the default cookie path to use with the {@link AeCookie::set()}
  * method
  *
  * @param string $path
  *
  * @return string previous default path value or true, if no value was set
  *                before
  */
 public static function setPath($path)
 {
     $return = true;
     if (self::$_path !== null) {
         $return = self::$_path;
     }
     self::$_path = (string) $path;
     return $return;
 }