修改bug

master
ELF 5 years ago
parent b2b67f28ec
commit f6d15eba6d

@ -40,6 +40,7 @@ class GameSourceController extends ThinkController
public function add($value = '')
{
set_time_limit(0);
if (IS_POST) {
C(api('Config/lists'));
if (empty($_POST['game_id'])) {
@ -126,6 +127,7 @@ class GameSourceController extends ThinkController
public function edit($id)
{
set_time_limit(0);
$map['id'] = $id;
if (IS_POST) {
if (empty($_POST['file_name'])) {

Loading…
Cancel
Save