mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	Merge branch 'dev'
This commit is contained in:
		| @@ -108,7 +108,7 @@ class ConfigController extends Controller | ||||
|                 'register_limit_by_ip_enable' => (int)config('v2board.register_limit_by_ip_enable', 0), | ||||
|                 'register_limit_count' => config('v2board.register_limit_count', 3), | ||||
|                 'register_limit_expire' => config('v2board.register_limit_expire', 60), | ||||
|                 'secure_path' => config('v2board.secure_path', config('v2board.frontend_admin_path', crc32(config('app.key')))) | ||||
|                 'secure_path' => config('v2board.secure_path', config('v2board.frontend_admin_path', hash('crc32b', config('app.key')))) | ||||
|             ], | ||||
|             'subscribe' => [ | ||||
|                 'plan_change_enable' => (int)config('v2board.plan_change_enable', 1), | ||||
| @@ -177,7 +177,7 @@ class ConfigController extends Controller | ||||
|                 continue; | ||||
|             } | ||||
|             if (array_key_exists($k, $data)) { | ||||
|                 $config[$k] = $data[$k]; | ||||
|                 $config[$k] = trim($data[$k]); | ||||
|             } | ||||
|         } | ||||
|         $data = var_export($config, 1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user