packages: php-pecl-memcache/config.php - restrict access with webserver
glen
glen at pld-linux.org
Thu Mar 25 10:58:54 CET 2010
Author: glen Date: Thu Mar 25 09:58:54 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- restrict access with webserver
---- Files affected:
packages/php-pecl-memcache:
config.php (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/php-pecl-memcache/config.php
diff -u packages/php-pecl-memcache/config.php:1.2 packages/php-pecl-memcache/config.php:1.3
--- packages/php-pecl-memcache/config.php:1.2 Thu Mar 25 10:34:42 2010
+++ packages/php-pecl-memcache/config.php Thu Mar 25 10:58:49 2010
@@ -3,8 +3,9 @@
* Config for memcache.php administrative interface.
*/
-// Admin Username
-define('ADMIN_USERNAME', 'memcache');
+// Admin Username, use <null> (language construct, not string) to skip the check.
+// For example if you want to restrict the access with webserver.
+define('ADMIN_USERNAME', null);
// Admin Password
define('ADMIN_PASSWORD', 'memcache');
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-memcache/config.php?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list