Removed hardcoded osu! folder path

This commit is contained in:
2020-12-26 13:42:17 +01:00
parent 012165cdfc
commit 660d3741fb
4 changed files with 65 additions and 11 deletions
+17
View File
@@ -1,3 +1,20 @@
<?php
// imagine Bob. Bob has a slow computer
// but he likes osu! very much. his HDD
// is nearly failing, but the script will
// optimize his experience eventually.
// trust me, 83 hours is still not enough
// for the likes of Bob.
set_time_limit(298800);
// around 13 000 maps, the new parser
// exhausted the default 512MB limit,
// this might need to be adjusted in
// the future
ini_set('memory_limit', '1024M');
// git does not like empty folders
if (!file_exists("session")) mkdir("session");
// the entry point
require "main.php";