Changeset View
Changeset View
Standalone View
Standalone View
conf/__init_conf__.php
| Show All 15 Lines | if (!Filesystem::pathExists($full_config_path)) { | ||||
| switch ($config) { | switch ($config) { | ||||
| case 'default': | case 'default': | ||||
| case 'production': | case 'production': | ||||
| return array(); | return array(); | ||||
| case 'development': | case 'development': | ||||
| return array( | return array( | ||||
| 'phabricator.developer-mode' => true, | 'phabricator.developer-mode' => true, | ||||
| 'darkconsole.enabled' => true, | 'darkconsole.enabled' => true, | ||||
| 'celerity.minify' => false, | |||||
| ); | ); | ||||
| } | } | ||||
| $files = id(new FileFinder($root.'/conf/')) | $files = id(new FileFinder($root.'/conf/')) | ||||
| ->withType('f') | ->withType('f') | ||||
| ->withSuffix('conf.php') | ->withSuffix('conf.php') | ||||
| ->withFollowSymlinks(true) | ->withFollowSymlinks(true) | ||||
| ->find(); | ->find(); | ||||
| Show All 37 Lines | |||||