/[packages]/updates/2/php-apc/current/SOURCES/APC-3.1.13-default_config.diff
ViewVC logotype

Contents of /updates/2/php-apc/current/SOURCES/APC-3.1.13-default_config.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 344754 - (show annotations) (download)
Thu Jan 10 15:42:00 2013 UTC (11 years, 9 months ago) by oden
File size: 543 byte(s)
- lock down the access to the apc admin php script further

1 --- apc.php 2012-09-03 18:52:51.000000000 +0200
2 +++ apc.php.oden 2013-01-10 15:54:33.066479179 +0100
3 @@ -25,7 +25,7 @@
4 $VERSION='$Id: apc.php 325483 2012-05-01 00:34:04Z rasmus $';
5
6 ////////// READ OPTIONAL CONFIGURATION FILE ////////////
7 -if (file_exists("apc.conf.php")) include("apc.conf.php");
8 +if (file_exists("/etc/php-apc/config.php")) include("/etc/php-apc/config.php");
9 ////////////////////////////////////////////////////////
10
11 ////////// BEGIN OF DEFAULT CONFIG AREA ///////////////////////////////////////////////////////////

  ViewVC Help
Powered by ViewVC 1.1.30