/upload/develop/show_source.php
http://torrentpier2.googlecode.com/ · PHP · 18 lines · 12 code · 5 blank · 1 comment · 0 complexity · d3c07edb82e14a0121008d3b2a1dd82b MD5 · raw file
- <?php
-
- // Comment the following line to enable
- die('Please REMOVE THIS FILE from your production environment!<br /><br />'. basename(__FILE__));
-
- define('IN_FORUM', true);
- define('BB_ROOT', './../');
-
- require('./dbg_config.php');
- require('./functions_debug.php');
-
- $file = @$_GET['file'];
- $line = @$_GET['line'];
- $prev = @$_GET['prev'] ? $_GET['prev'] : 15;
- $next = @$_GET['next'] ? $_GET['next'] : 15;
-
- require('./dbg_header.php');
- echo showSource($file, $line, $prev, $next);