Преглед изворни кода

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

SakuraSa233 пре 6 година
родитељ
комит
7a9be73a38
3 измењених фајлова са 2 додато и 2 уклоњено
  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