修改bug

master
ELF 5 years ago
parent b2b67f28ec
commit f6d15eba6d

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

Loading…
Cancel
Save