mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Clean up references to travis in all tests
This commit is contained in:
parent
1a824ae652
commit
715e8d781c
3 changed files with 8 additions and 25 deletions
|
|
@ -33,7 +33,7 @@ class installController extends install
|
|||
$config = Context::gets('db_type', 'db_host', 'db_port', 'db_user', 'db_pass', 'db_database', 'db_prefix');
|
||||
|
||||
// Disallow installation using the root account.
|
||||
if (trim($config->db_user) === 'root')
|
||||
if (trim($config->db_user) === 'root' && !preg_match('/Development Server$/', $_SERVER['SERVER_SOFTWARE']))
|
||||
{
|
||||
return new BaseObject(-1, 'msg_dbroot_disallowed');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue