| 409 | | if (pnConfigGetVar('shorturlsstripentrypoint')) { |
| 410 | | $qstring = str_replace(pnGetBaseURI()."/{$this->toplevelmodule}/", '/', $this->requesturi); |
| 411 | | } else { |
| 412 | | $entrypoint = pnConfigGetVar('entrypoint'); |
| 413 | | $qstring = str_replace(pnGetBaseURI()."/{$entrypoint}/{$this->toplevelmodule}/", '/', $this->requesturi); |
| 414 | | } |
| 415 | | $customargs = str_replace("/{$this->func}/", '/', $qstring); |
| | 409 | $customargs = str_replace(pnGetBaseURI(), '', $this->requesturi); |
| | 410 | $entrypoint = pnConfigGetVar('entrypoint'); |
| | 411 | $customargs = str_replace("/{$entrypoint}/", '/', $customargs); |