kritbit

kritbit Commit Details


Date:2015-12-14 19:09:19 (9 years 7 days ago)
Author:Natalie Adams
Branch:master
Commit:514016c0e9242fb8825e7452212a1baed3efd3ca
Parents: 4895af05868a2f4ba5601bfa05226f4fac34ed05
Message:updating links

Changes:

File differences

web/application/controllers/history.php
4848
4949
5050
51
51
5252
5353
5454
......
6262
6363
6464
65
65
6666
6767
6868
}
}
} catch (\Exception $e) {
header("Location: /");
header("Location: /kritbit");
}
}
echo $historyArr[0]->output;
}
} catch (\Exception $e) {
header("Location: /");
header("Location: /kritbit");
}
}
}
web/application/controllers/job.php
2525
2626
2727
28
28
2929
3030
3131
......
3535
3636
3737
38
38
3939
4040
4141
4242
43
43
4444
4545
4646
......
4949
5050
5151
52
52
5353
54
54
5555
5656
5757
......
6464
6565
6666
67
67
6868
69
69
7070
7171
7272
$data = $_POST;
$data["user_id"] = $this->user->id;
\application\models\Jobs::create($data)->save();
header("Location: /");
header("Location: /kritbit");
}
}
if ($job && $job[0]->user_id == $this->user->id) { //secuirty check
if (isset($_POST["jobName"])) {
$job[0]->update($_POST)->save();
header("Location: /");
header("Location: /kritbit");
} else {
echo $this->loadRender("add.html", ["job" => $job[0]]);
}
} else {
header("Location: /");
header("Location: /kritbit");
}
}
if ($job && $job[0]->user_id == $this->user->id) { //secuirty check
$job[0]->deleteRelated(["histories"]);
$job[0]->delete();
header("Location: /");
header("Location: /kritbit");
} else {
header("Location: /");
header("Location: /kritbit");
}
}
$job[0]->force_run = 1;
}
$job[0]->save();
header("Location: /");
header("Location: /kritbit");
} else {
header("Location: /");
header("Location: /kritbit");
}
}
web/application/controllers/login.php
3333
3434
3535
36
36
3737
3838
3939
$this->session->data = json_encode(["userId" => $user->id]);
$this->session->save();
$this->sessionData = $this->session->data;
header("Location: /");
header("Location: /kritbit");
} else {
header("Location: " . $check);
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06010s using 14 queries.