8000 [FrameworkBundle] Added server:run command (PHP 5.4 built-in web server) by michalpipa · Pull Request #3465 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Added server:run command (PHP 5.4 built-in web server) #3465

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

Merged
merged 7 commits into from
Mar 23, 2012
Merged
Prev Previous commit
Next Next commit
[FrameworkBundle] Removed global variable from router script
  • Loading branch information
michalpipa committed Mar 7, 2012
commit 4a3f6d57685f57690469298e23dc0a680983054a
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
if (isset($_SERVER['SCRIPT_FILENAME'])) {
return false;
} else {
$controller = 'app.php';

$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT']
. DIRECTORY_SEPARATOR
. $controller
. 'app.php'
;

require $controller;
require 'app.php';
}
0