Labels Milestones
BackHoles: ============================================================= 4675f71e05fc19d3608ee6e5061bbe79ae432fb7 panel(width); // waves out // round shaft hole cylinder(r=shaft_radius,h=shaft_height, $fn=shaft_smoothness); if(shaft_is_flatted == true } module arrow_indicator() { } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; } /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme . '://' . $abs; } From b404e3f9c5cb79c1ce2c1b1d88da892bdd69efea Mon Sep.
New Pull Request