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:
parent
81066fea32
commit
665fcb561d
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue