git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix building with php8 and without config file
[stouyapi.git]
/
bin
/
import-game-data.php
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 2685b3ffbc4da325652235a93002f48eda0733e0..ee6c1d971b8d835e1f025eb35add345ca3a17140 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-18,6
+18,7
@@
if (!is_file($foldersFile)) {
}
//default configuration values
+$GLOBALS['baseUrl'] = 'http://ouya.cweiske.de/';
$GLOBALS['packagelists'] = [];
$GLOBALS['urlRewrites'] = [];
$cfgFile = __DIR__ . '/../config.php';