3
1
Back

/* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = preg_replace($re, '/', $abs, -1, $n)) {} $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00 2001 Subject: [PATCH 04/13] Add notes about wiring SW15 cross-board UI: 11 potentiometers 13 SPDT switches: // 1 rotary switch to disable clock (pause). - SPST switch to disable reset (run once). - Momentary-normal-off pushbutton to manually reset.

New Pull Request