saltandvinegarcrisps / nano

A really small php 5 boiler plate
The Unlicense
116 stars 18 forks source link

cookie.php #8

Open johnqiuwan opened 8 years ago

johnqiuwan commented 8 years ago

I saw the code below in the file cookie.php, as follow:

public static function erase($name, $path = '/', $domain = null, $secure = false) { static::write($name, null, -2000, $path, $domain, $secure); }

Just curious, should we have to use -2000 ? Could we use -1 instead?

Thank you