mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
d43dec1d12
Summary: If a page generates warnings or errors, you only get a little red dot in DarkConsole which is hard to see. DarkConsole is also fairly big and there are plenty of reasons not to leave it open all the time. Instead, unconditionally show a big message to developers if there are errors or warnings. We could make this more sophisticated eventually, but the value is just that you see it. Test Plan: Browsed pages with and without warnings, got the right banner state. Reviewers: nh, btrahan, jungejason Reviewed By: btrahan CC: aran, btrahan Maniphest Tasks: T734 Differential Revision: https://secure.phabricator.com/D1307
26 lines
845 B
PHP
26 lines
845 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright 2012 Facebook, Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
return array(
|
|
|
|
'darkconsole.enabled' => true,
|
|
'celerity.force-disk-reads' => true,
|
|
'phabricator.show-stack-traces' => true,
|
|
'phabricator.show-error-callout' => true,
|
|
|
|
) + phabricator_read_config_file('default');
|