add wait-for-it and get-variable, these will be used to determine the proper address of the database and wait for it to connect

This commit is contained in:
2019-06-16 14:45:09 -05:00
parent 7d47280ac6
commit c33d4a1f50
3 changed files with 15 additions and 1 deletions

10
get-variable Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env php
<?php
define("MEDIAWIKI", 1);
define("HTML_ROOT", "/var/www/html");
function wfLoadSkin() {}
function wfLoadExtension() {}
@include HTML_ROOT . "/LocalSettings.php";
print_r($GLOBALS[$argv[1]]);