Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 26782
Collapse All | Expand All

(-)phpSysInfo-2.1/index.php.old (+8 lines)
Lines 40-45 Link Here
40
40
41
define('APP_ROOT', dirname(__FILE__));
41
define('APP_ROOT', dirname(__FILE__));
42
42
43
if(isset($template) && preg_match("/\.\.|\//", $template)) {
44
    $template='classic';
45
}
46
47
if (isset($lng) && preg_match("/\.\.|\//", $lng)) {
48
    $lng = 'en';
49
}
50
43
// check to see if we have a random template first
51
// check to see if we have a random template first
44
if (isset($template) && $template == 'random') {
52
if (isset($template) && $template == 'random') {
45
    $dir = opendir('templates/');
53
    $dir = opendir('templates/');

Return to bug 26782