PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/upload/develop/show_source.php

http://torrentpier2.googlecode.com/
PHP | 18 lines | 12 code | 5 blank | 1 comment | 0 complexity | d3c07edb82e14a0121008d3b2a1dd82b MD5 | raw file
 1<?php
 2
 3// Comment the following line to enable
 4die('Please REMOVE THIS FILE from your production environment!<br /><br />'. basename(__FILE__));
 5
 6define('IN_FORUM', true);
 7define('BB_ROOT', './../');
 8
 9require('./dbg_config.php');
10require('./functions_debug.php');
11
12$file = @$_GET['file'];
13$line = @$_GET['line'];
14$prev = @$_GET['prev'] ? $_GET['prev'] : 15;
15$next = @$_GET['next'] ? $_GET['next'] : 15;
16
17require('./dbg_header.php');
18echo showSource($file, $line, $prev, $next);