Created
July 6, 2020 17:27
-
-
Save pebbie/18594be72004e6bb899587dc611df9c5 to your computer and use it in GitHub Desktop.
Revisions
-
pebbie created this gist
Jul 6, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ you need to execute these commands inside the quickstatements docker container (e.g. from terminal: `docker exec -it wikibase-docker_quickstatements_1 /bin/bash` ) or replace the file using local file mapping in the `docker-compose.yml` recipe 1. comment out the `require_once` line in the `/var/www/html/magnustools/public_html/php/wikidata.php` for example, using sed : `sed -i 's/require_once/\/\/require_once/' /var/www/html/magnustools/public_html/php/wikidata.php` 2. replace 'api.php' into 'oob' in `/var/www/html/quickstatements/public_html/api.php` : `sed -i 's/api.php/oob/' /var/www/html/quickstatements/public_html/api.php`