diff options
author | Minteck <contact@minteck.org> | 2023-03-05 09:42:52 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-03-05 09:42:52 +0100 |
commit | a4d4376e857c21a2e21221a9b522e91c79740788 (patch) | |
tree | f816fabb69ea5d273820b822a365e5712a5fd1dd /includes | |
parent | 27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe (diff) | |
download | pluralconnect-a4d4376e857c21a2e21221a9b522e91c79740788.tar.gz pluralconnect-a4d4376e857c21a2e21221a9b522e91c79740788.tar.bz2 pluralconnect-a4d4376e857c21a2e21221a9b522e91c79740788.zip |
Updated 2 files and added 3 files (automated)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/backup.inc | 12 | ||||
-rw-r--r-- | includes/pages.json | 10 |
2 files changed, 16 insertions, 6 deletions
diff --git a/includes/backup.inc b/includes/backup.inc index 361902b..6196389 100644 --- a/includes/backup.inc +++ b/includes/backup.inc @@ -81,10 +81,10 @@ copy("./data/backup.poniesbackup", "./data/encrypted/" . $id . ".poniesbackup"); echo(" Uploading to servers...\n"); -echo(" bridlewood... upload\n"); -exec("scp ./data/encrypted/" . $id . ".poniesbackup fedora@bridlewood.equestria.dev:/opt/ponies"); -echo(" bridlewood... cleaning up\n"); -exec('ssh fedora@bridlewood.equestria.dev bash /opt/clean.sh'); +echo(" zephyrheights... upload\n"); +exec("scp ./data/encrypted/" . $id . ".poniesbackup root@zephyrheights.equestria.dev:/opt/ponies"); +echo(" zephyrheights... cleaning up\n"); +exec('ssh root@zephyrheights.equestria.dev bash /opt/clean.sh'); echo(" canterlot... upload\n"); exec("scp ./data/encrypted/" . $id . ".poniesbackup root@canterlot.equestria.dev:/opt/ponies"); @@ -92,9 +92,9 @@ echo(" canterlot... cleaning up\n"); exec('ssh root@canterlot.equestria.dev bash /opt/clean.sh'); if (file_exists("/opt/ponies")) { - echo(" zephyrheights... copy\n"); + echo(" bridlewood... copy\n"); copy("./data/encrypted/" . $id . ".poniesbackup", "/opt/ponies/" . $id . ".poniesbackup"); - echo(" zephyrheights... cleaning up\n"); + echo(" bridlewood... cleaning up\n"); exec('bash -c "cd /opt/ponies; ls -tp | grep -v \'/$\' | tail -n +20 | xargs -I {} rm -- {}"'); } diff --git a/includes/pages.json b/includes/pages.json index 2a7bbe6..8e21cc9 100644 --- a/includes/pages.json +++ b/includes/pages.json @@ -149,6 +149,16 @@ "limited": true, "rail": true }, + "games": { + "name": { + "en": "Equestria Games", + "fr": "Equestria Games" + }, + "short": null, + "admin": true, + "limited": true, + "rail": false + }, "government": { "name": { "en": "Government", |