Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug front controller #1

Open
flip111 opened this issue May 20, 2016 · 0 comments
Open

debug front controller #1

flip111 opened this issue May 20, 2016 · 0 comments

Comments

@flip111
Copy link
Owner

flip111 commented May 20, 2016

todo:

  • move the Development settings into the front controller (index.php / debug.php)
  • change this logic
$filename = __DIR__.urldecode(preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']));
if (php_sapi_name() === 'cli-server' && is_file($filename)) {
    return false;
}

so that it can also open php files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant