iyuu.cn 5 years ago
parent 6a01b492ce
commit ff16781da9
  1. 8
      app/AutoReseed.php
  2. 1
      app/Library/IFile.php
  3. 2
      app/Library/Oauth.php
  4. 1
      app/Library/Table.php
  5. 1
      app/helper.php
  6. 1
      iyuu.php

@ -1,10 +1,12 @@
<?php
namespace IYUU;
use Curl\Curl;
use IYUU\Client\AbstractClient;
use IYUU\Library\IFile;
use IYUU\Library\Oauth;
use IYUU\Library\Table;
/**
* IYUUAutoReseed自动辅种类
*/
@ -762,8 +764,7 @@ class AutoReseed
$path_selector = isset($configALL['default']['move']['path_selector']) && !empty($configALL['default']['move']['path_selector']) ? $configALL['default']['move']['path_selector'] : null;
if (\is_null($path_filter) && \is_null($path_selector)) {
return false;
}
elseif (\is_null($path_filter)) {
} elseif (\is_null($path_filter)) {
//选择器
if (\is_array($path_selector)) {
foreach ($path_selector as $pathName) {
@ -774,8 +775,7 @@ class AutoReseed
echo '已跳过!转移选择器未匹配到:'.$path.PHP_EOL;
return true;
}
}
elseif (\is_null($path_selector)) {
} elseif (\is_null($path_selector)) {
//过滤器
if (\is_array($path_filter)) {
foreach ($path_filter as $pathName) {

@ -1,5 +1,6 @@
<?php
namespace IYUU\Library;
/**
* @class IFile
* @brief IFile 文件处理类

@ -1,6 +1,8 @@
<?php
namespace IYUU\Library;
use Curl\Curl;
/**
* IYUU用户注册、认证
*/

@ -1,5 +1,6 @@
<?php
namespace IYUU\Library;
/**
* Created by PhpStorm.
* User: 大卫

@ -1,6 +1,7 @@
<?php
use IYUU\Library\IFile;
use IYUU\Library\Table;
/**
* 调试函数
* @param $data

@ -26,6 +26,7 @@
require_once __DIR__ . '/init.php';
echo '当前脚本路径:'.__FILE__.PHP_EOL;
use IYUU\AutoReseed;
AutoReseed::init();
AutoReseed::call();
exit(0);

Loading…
Cancel
Save