Script to generate the games menu with all infos
[gamestick-pjgsapi.git] / config.php.dist
diff --git a/config.php.dist b/config.php.dist
new file mode 100644 (file)
index 0000000..8b5de17
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+//gamestick hardware IDs that may use this server
+$GLOBALS['whitelistedHardwareIds'] = [
+    'ac:db:da:09:18:5c',//cweiske
+];
+
+//popular games. first in array means most popular
+$GLOBALS['popular'] = [
+    'de.eiswuxe.blookid'
+];
+//file format: one line = one package name
+$GLOBALS['popuplarTxtFile'] = __DIR__ . '/cache/popular.txt';
+
+//featured games in main menu
+// number is image height: 6, 4, 3, 2
+$GLOBALS['featured'] = [
+    3 => [
+        'de.eiswuxe.blookid' => 6,
+    ],
+    7 => [
+        'de.eiswuxe.blookid' => 6,
+    ],
+    12 => [
+        'de.eiswuxe.blookid' => 6,
+    ],
+    17 => [
+        'de.eiswuxe.blookid' => 6,
+    ],
+];
+$GLOBALS['featuredFile'] = __DIR__ . '/cache/featured.json';