1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
This commit is contained in:
Rasmus Lerdorf
2014-04-10 02:40:21 -07:00
parent 7ed703b0d0
commit 293c89ed3e

View File

@@ -1,4 +1,15 @@
<?php
/*
Yes, we know this can be used to view the source for any file
in the docroot directory. This is intentional and not an LFI
vulnerability. The source code for everything in the docroot
is publicly available at
https://github.com/php/web-php
so there is no vulnerability here. You can't use this to view
anything that is private.
*/
$_SERVER['BASE_PAGE'] = 'cached.php';
include_once 'include/prepend.inc';