1
0
Fork 0
mirror of https://github.com/GeoffreyFrogeye/phroxyp.git synced 2025-09-04 17:25:55 +02:00

Changed localDir default to empty

No more double slashes
This commit is contained in:
Geoffrey Frogeye 2015-04-10 15:46:42 +02:00
parent 81066fea32
commit 665fcb561d
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<?php
class Proxy {
public function __construct($serv, $port = 80, $root = '/', $localRoot = '') {
public function __construct($serv, $port = 80, $root = '', $localRoot = '') {
// Functions
function str_replace_once($search, $replace, $subject) { // TODO Credit
$pos = strpos($subject, $search);