Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Update composer packages
-> Update the crons to work on ubuntu
  • Loading branch information
NaysKutzu committed Oct 17, 2023
1 parent 723903b commit 1ac17f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 36 deletions.
44 changes: 22 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 5 additions & 14 deletions crons/server.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
<?php
echo "====== MythicalDash queue ======\n\n";
echo "[INFO/loader] Loading files...\n";
try {
if (file_exists('../vendor/autoload.php')) {
require("../vendor/autoload.php");
} else {
die("[INFO/loader] Hello, it looks like you did not run: 'composer install --no-dev --optimize-autoloader'. Please run that and refresh the page");
}
} catch (Exception $e) {
die("Hello, it looks like you did not run: 'composer install --no-dev --optimize-autoloader' Please run that and refresh");
}
<?php echo "====== MythicalDash queue ======\n\n";
echo "[INFO/loader] Loading files...\n";
require('../vendor/autoload.php');
include('../functions/passwordgen.php');
include('../functions/keygen.php');
include('../functions/encryption.php');
Expand Down Expand Up @@ -142,7 +133,7 @@
'LIT_PACKAGES' => '',
'JS_FILE' => 'index.js',
'JARFILE' => 'app.jar',

'MAIN_FILE' => 'index.js'
),
'limits' => array(
'memory' => $server['ram'],
Expand Down Expand Up @@ -198,4 +189,4 @@
die();
}
}
?>
?>

0 comments on commit 1ac17f0

Please sign in to comment.