OSDN Git Service

change default global config path to ~/.wp-cli/config.yml
authorscribu <mail@scribu.net>
Sat, 30 Nov 2013 12:38:28 +0000 (14:38 +0200)
committerscribu <mail@scribu.net>
Sat, 30 Nov 2013 12:38:30 +0000 (14:38 +0200)
context: #897

php/WP_CLI/Runner.php

index 65c376a..06734b7 100644 (file)
@@ -46,7 +46,7 @@ class Runner {
                }
 
                if ( !$config_path ) {
-                       $config_path = getenv( 'HOME' ) . '/.config/wp-cli.yml';
+                       $config_path = getenv( 'HOME' ) . '/.wp-cli/config.yml';
                }
 
                if ( !is_readable( $config_path ) )