Browse Source

feat: rename ".config.php.example" to ".config.example.php"

SakuraSa233 6 năm trước cách đây
mục cha
commit
7a9be73a38
3 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      .travis.yml
  2. 1 1
      app/Command/Update.php
  3. 0 0
      config/.config.example.php

+ 1 - 1
.travis.yml

@@ -23,7 +23,7 @@ before_script:
   - npm i -g phplint
   - cd ..
 script:
-  - cp config/.config.php.example config/.config.php
+  - cp config/.config.example.php config/.config.php
   - phplint '**/*.php' '!vendor/**'
   - php xcat initdownload
   - php xcat initQQWry

+ 1 - 1
app/Command/Update.php

@@ -33,7 +33,7 @@ class Update
         echo(PHP_EOL);
 
         $config_old = file_get_contents(BASE_PATH . "/config/.config.php");
-        $config_new = file_get_contents(BASE_PATH . "/config/.config.php.example");
+        $config_new = file_get_contents(BASE_PATH . "/config/.config.example.php");
 
         //执行版本升级
         $version_old = 0;

+ 0 - 0
config/.config.php.example → config/.config.example.php