X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=misc.php;fp=misc.php;h=857f6db9e8c5b413e24ccb87f2a5bae54b594564;hb=28ea182162da1c22d16f93bc2cb5619c14e222a7;hp=1737a86839efcd239f0a879be3ae1c2d087e6704;hpb=608ecf965408645758cdca1e5f01ff5ac3eff166;p=wfpl.git diff --git a/misc.php b/misc.php index 1737a86..857f6db 100644 --- a/misc.php +++ b/misc.php @@ -67,15 +67,12 @@ function exec_pipe($command, $stdin) { } - - - - function unix_newlines($str) { $str = str_replace("\r\n", "\n", $str); return str_replace("\r", "\n", $str); } + # return current year (all 4 digits) function this_year() { return strftime('%Y');