X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=blobdiff_plain;f=maintenance%2Fdev%2Fincludes%2Frouter.php;h=9917a4fa080284c5d8fb7138a1471a55df4aced2;hb=62e3318f82ebc1638d504cef155200999952d31a;hp=77b0e610791f7484e1f16670ccc0aff971b2f74d;hpb=2fdcd7bfdd95a3b1515b9a94289d67eb60add484;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dev/includes/router.php b/maintenance/dev/includes/router.php index 77b0e61079..9917a4fa08 100644 --- a/maintenance/dev/includes/router.php +++ b/maintenance/dev/includes/router.php @@ -54,13 +54,7 @@ if ( !is_readable( $file ) ) { } $ext = pathinfo( $file, PATHINFO_EXTENSION ); if ( $ext == 'php' || $ext == 'php5' ) { - # Execute php files - # We use require and return true here because when you return false - # the php webserver will discard post data and things like login - # will not function in the dev environment. - require $file; - - return true; + return false; } $mime = false; // Borrow mime type file from MimeAnalyzer