cvs: phpweb / source.php

From: Date: Thu, 01 Mar 2007 17:12:17 +0000
Subject: cvs: phpweb / source.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34511@lists.php.net to get a copy of this message
bjori Thu Mar 1 17:12:17 2007 UTC Modified files: /phpweb source.php Log: Enable view-source on the security center page http://cvs.php.net/viewvc.cgi/phpweb/source.php?r1=1.28&r2=1.29&diff_format=u Index: phpweb/source.php diff -u phpweb/source.php:1.28 phpweb/source.php:1.29 --- phpweb/source.php:1.28 Sat Feb 10 21:48:59 2007 +++ phpweb/source.php Thu Mar 1 17:12:17 2007 @@ -1,5 +1,5 @@ <?php -// $Id: source.php,v 1.28 2007/02/10 21:48:59 bjori Exp $ +// $Id: source.php,v 1.29 2007/03/01 17:12:17 bjori Exp $ $_SERVER['BASE_PAGE'] = 'source.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; $SIDEBAR_DATA = ' @@ -50,7 +50,7 @@ if (!empty($dir) && !preg_match("!^(\\.|/)$!", $dir)) { // Check if the specified dir is valid - $legal_dirs = array("/manual", "/include", "/stats", "/error", "/license", "/conferences", "/archive", "/releases"); + $legal_dirs = array("/manual", "/include", "/stats", "/error", "/license", "/conferences", "/archive", "/releases", "/security"); if ((preg_match("!^/manual/!", $dir) || in_array($dir, $legal_dirs)) && strpos($dir, "..") === FALSE) { $page_name = $_SERVER['DOCUMENT_ROOT'] . $_GET['url'];

« previous php.mirrors (#34511) next »