Revert constants removal changes

This commit is contained in:
DariusIII
2020-03-26 17:44:45 +01:00
parent cf5b1e666b
commit 7592fa9beb
45 changed files with 180 additions and 70 deletions
@@ -57,7 +57,7 @@ class GameController extends BasePageController
switch ($action) {
case 'submit':
$coverLoc = resource_path().'/covers/'.'games/'.$id.'.jpg';
$coverLoc = NN_COVERS.'games/'.$id.'.jpg';
if ($_FILES['cover']['size'] > 0) {
$tmpName = $_FILES['cover']['tmp_name'];