From: <du...@us...> - 2012-10-15 23:19:12
|
Revision: 10221 http://sourceforge.net/p/xoops/svn/10221 Author: dugris Date: 2012-10-15 23:19:08 +0000 (Mon, 15 Oct 2012) Log Message: ----------- Move configuration files in xoops_data/configs Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/protector.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/protector.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/protector.php 2012-10-15 20:48:06 UTC (rev 10220) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/protector.php 2012-10-15 23:19:08 UTC (rev 10221) @@ -384,12 +384,12 @@ function get_filepath4group1ips() { - return XOOPS_VAR_PATH . '/protector_group1ips_' . substr(md5(XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX), 0, 6); + return XOOPS_VAR_PATH . '/configs/protector_group1ips_' . substr(md5(XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX), 0, 6); } function get_filepath4confighcache() { - return XOOPS_VAR_PATH . '/protector_configcache_' . substr(md5(XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX), 0, 6); + return XOOPS_VAR_PATH . '/configs/protector_configcache_' . substr(md5(XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX), 0, 6); } function ip_match($ips) |