mirror of
https://github.com/php/web-bugs.git
synced 2026-03-24 15:52:09 +01:00
This reverts commit 5cdac95adc.
Due to the https://github.com/php/web-bugs/pull/77 discussion and
request from a prominent member of the PHP group - Kalle - I'm reverting
this awesome addition because it caused too many conflicts and issues.
So it is not worth of investing more from my side into this neither
having a ruined experience further on from any side here.
This fix has been really helpful with some development ways but people
who maintain this app further better have peace of mind...
74 lines
1.4 KiB
PHP
74 lines
1.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Application configuration parameters.
|
|
*/
|
|
|
|
return [
|
|
/**
|
|
* Application environment. Can be one of ['dev', 'prod'].
|
|
*/
|
|
'env' => (defined('DEVBOX') && true === DEVBOX) ? 'dev' : 'prod',
|
|
|
|
/**
|
|
* Site scheme - http or https.
|
|
*/
|
|
'site_scheme' => $site_data['method'],
|
|
|
|
/**
|
|
* Site URL.
|
|
*/
|
|
'site_url' => $site_data['url'],
|
|
|
|
/**
|
|
* Site base path if present. Part that comes after the domain
|
|
* https://bugs.php.net/basedir/
|
|
*/
|
|
'basedir' => $site_data['basedir'],
|
|
|
|
/**
|
|
* Database username.
|
|
*/
|
|
'db_user' => $site_data['db_user'],
|
|
|
|
/**
|
|
* Database password.
|
|
*/
|
|
'db_password' => $site_data['db_pass'],
|
|
|
|
/**
|
|
* Database host name.
|
|
*/
|
|
'db_host' => $site_data['db_host'],
|
|
|
|
/**
|
|
* Database name.
|
|
*/
|
|
'db_name' => $site_data['db'],
|
|
|
|
/**
|
|
* Main email of the public mailing list.
|
|
*/
|
|
'email'=> $site_data['email'],
|
|
|
|
/**
|
|
* Email of the public mailing list for documentation related bugs.
|
|
*/
|
|
'doc_email' => $site_data['doc_email'],
|
|
|
|
/**
|
|
* Security email - emails sent to this are not visible in public.
|
|
*/
|
|
'security_email' => $site_data['security_email'],
|
|
|
|
/**
|
|
* Uploads directory location.
|
|
*/
|
|
'uploads_dir' => $site_data['patch_tmp'],
|
|
|
|
/**
|
|
* Templates directory.
|
|
*/
|
|
'templates_dir' => __DIR__.'/../templates',
|
|
];
|