Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * Template configuraton file for github actions CI/CD. * * @package core * @copyright 2020 onwards Eloy Lafuente (stronk7) {@link https://stronk7.com} * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // This cannot be used out from a github actions workflow, so just exit. getenv('GITHUB_WORKFLOW') || die; // phpcs:ignore moodle.Files.MoodleInternal.MoodleInternalGlobalState unset($CFG); global $CFG; $CFG = new stdClass(); $CFG->dbtype = getenv('dbtype'); $CFG->dblibrary = 'native'; $CFG->dbhost = '127.0.0.1'; $CFG->dbname = 'test'; $CFG->dbuser = 'test'; $CFG->dbpass = 'test'; $CFG->prefix = 'm_'; $CFG->dboptions = ['dbcollation' => 'utf8mb4_bin']; $host = 'localhost'; $CFG->wwwroot = "http://{$host}"; $CFG->dataroot = realpath(dirname(__DIR__)) . '/moodledata'; $CFG->admin = 'admin'; $CFG->directorypermissions = 0777; // Debug options - possible to be controlled by flag in future. $CFG->debug = (E_ALL | E_STRICT); // DEBUG_DEVELOPER. $CFG->debugdisplay = 1; $CFG->debugstringids = 1; // Add strings=1 to url to get string ids. $CFG->perfdebug = 15; $CFG->debugpageinfo = 1; $CFG->allowthemechangeonurl = 1; $CFG->passwordpolicy = 0; $CFG->cronclionly = 0; $CFG->pathtophp = getenv('pathtophp'); $CFG->phpunit_dataroot = realpath(dirname(__DIR__)) . '/phpunitdata'; $CFG->phpunit_prefix = 't_'; define('TEST_EXTERNAL_FILES_HTTP_URL', 'http://localhost:8080'); define('TEST_EXTERNAL_FILES_HTTPS_URL', 'http://localhost:8080'); define('TEST_SESSION_REDIS_HOST', 'localhost'); define('TEST_CACHESTORE_REDIS_TESTSERVERS', 'localhost'); // TODO: add others (solr, mongodb, memcached, ldap...). // Too much for now: define('PHPUNIT_LONGTEST', true); // Only leaves a few tests out and they are run later by CI. require_once(__DIR__ . '/lib/setup.php');