娄梦宁 3 år sedan
incheckning
f09f95ac5b
100 ändrade filer med 216 tillägg och 0 borttagningar
  1. +26
    -0
      404.html
  2. Binär
      app/block/banner.php
  3. Binär
      app/block/booklist.php
  4. Binär
      app/block/category.php
  5. Binär
      app/block/chapter.php
  6. Binär
      app/block/comment.php
  7. Binär
      app/block/friendlink.php
  8. Binär
      app/block/mark.php
  9. Binär
      app/block/news.php
  10. Binär
      app/block/novel.php
  11. Binär
      app/block/page.php
  12. Binär
      app/block/pagination.php
  13. Binär
      app/block/rank.php
  14. Binär
      app/block/recommend.php
  15. Binär
      app/block/search.php
  16. Binär
      app/block/sign.php
  17. Binär
      app/block/special.php
  18. Binär
      app/block/tag.php
  19. Binär
      app/block/user.php
  20. Binär
      app/component/collect/collect.php
  21. Binär
      app/component/collect/helper.php
  22. Binär
      app/component/collect/kernel.php
  23. Binär
      app/component/collect/provider/api.php
  24. Binär
      app/component/collect/provider/preg.php
  25. Binär
      app/component/collect/provider/provider.php
  26. Binär
      app/component/collect/test.php
  27. Binär
      app/component/compare.php
  28. Binär
      app/component/console/table.php
  29. Binär
      app/component/domain.php
  30. Binär
      app/component/swoole/process.php
  31. Binär
      app/config/const.php
  32. +190
    -0
      app/config/kuxin.php
  33. Binär
      app/console/app.php
  34. Binär
      app/console/cache.php
  35. Binär
      app/console/collect/repair.php
  36. Binär
      app/console/collect/sync.php
  37. Binär
      app/console/collect/test.php
  38. Binär
      app/console/collect/update.php
  39. Binär
      app/console/cron.php
  40. Binär
      app/console/fix.php
  41. Binär
      app/console/import.php
  42. Binär
      app/console/install.php
  43. Binär
      app/console/novel.php
  44. Binär
      app/console/seo.php
  45. Binär
      app/console/site.php
  46. Binär
      app/console/task.php
  47. Binär
      app/console/test.php
  48. Binär
      app/console/tool.php
  49. Binär
      app/controller/api/notice/pay.php
  50. Binär
      app/controller/api/novel/chapter.php
  51. Binär
      app/controller/api/novel/novel.php
  52. Binär
      app/controller/api/novel/search.php
  53. Binär
      app/controller/api/stat/booklist.php
  54. Binär
      app/controller/api/stat/novel.php
  55. Binär
      app/controller/api/stat/special.php
  56. Binär
      app/controller/author/auth.php
  57. Binär
      app/controller/author/author.php
  58. Binär
      app/controller/author/chapter.php
  59. Binär
      app/controller/author/income.php
  60. Binär
      app/controller/author/novel.php
  61. Binär
      app/controller/author/space.php
  62. Binär
      app/controller/author/stat.php
  63. Binär
      app/controller/booklist/booklist.php
  64. Binär
      app/controller/booklist/comment.php
  65. Binär
      app/controller/comment.php
  66. Binär
      app/controller/custompage.php
  67. Binär
      app/controller/desktop.php
  68. Binär
      app/controller/forum.php
  69. Binär
      app/controller/index.php
  70. Binär
      app/controller/manage/author.php
  71. Binär
      app/controller/manage/collect/collect.php
  72. Binär
      app/controller/manage/collect/cron.php
  73. Binär
      app/controller/manage/collect/log.php
  74. Binär
      app/controller/manage/collect/logcron.php
  75. Binär
      app/controller/manage/collect/rule.php
  76. Binär
      app/controller/manage/collect/site.php
  77. Binär
      app/controller/manage/content/ad/ad.php
  78. Binär
      app/controller/manage/content/ad/position.php
  79. Binär
      app/controller/manage/content/banner/banner.php
  80. Binär
      app/controller/manage/content/banner/position.php
  81. Binär
      app/controller/manage/content/booklist.php
  82. Binär
      app/controller/manage/content/category.php
  83. Binär
      app/controller/manage/content/chapter.php
  84. Binär
      app/controller/manage/content/comment.php
  85. Binär
      app/controller/manage/content/feedback.php
  86. Binär
      app/controller/manage/content/news/category.php
  87. Binär
      app/controller/manage/content/news/news.php
  88. Binär
      app/controller/manage/content/novel.php
  89. Binär
      app/controller/manage/content/recommend.php
  90. Binär
      app/controller/manage/content/recommendnovel.php
  91. Binär
      app/controller/manage/content/recommendperiod.php
  92. Binär
      app/controller/manage/content/special/novel.php
  93. Binär
      app/controller/manage/content/special/special.php
  94. Binär
      app/controller/manage/data.php
  95. Binär
      app/controller/manage/setting.php
  96. Binär
      app/controller/manage/system/cache.php
  97. Binär
      app/controller/manage/system/configure.php
  98. Binär
      app/controller/manage/system/custompage.php
  99. Binär
      app/controller/manage/system/dashboard.php
  100. Binär
      app/controller/manage/system/friendlink.php

+ 26
- 0
404.html Visa fil

@@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>404</title>
<style>
body{
background-color:#444;
font-size:14px;
}
h3{
font-size:60px;
color:#eee;
text-align:center;
padding-top:30px;
font-weight:normal;
}
</style>
</head>

<body>
<h3>404,您请求的文件不存在!</h3>
</body>
</html>

Binär
app/block/banner.php Visa fil


Binär
app/block/booklist.php Visa fil


Binär
app/block/category.php Visa fil


Binär
app/block/chapter.php Visa fil


Binär
app/block/comment.php Visa fil


Binär
app/block/friendlink.php Visa fil


Binär
app/block/mark.php Visa fil


Binär
app/block/news.php Visa fil


Binär
app/block/novel.php Visa fil


Binär
app/block/page.php Visa fil


Binär
app/block/pagination.php Visa fil


Binär
app/block/rank.php Visa fil


Binär
app/block/recommend.php Visa fil


Binär
app/block/search.php Visa fil


Binär
app/block/sign.php Visa fil


Binär
app/block/special.php Visa fil


Binär
app/block/tag.php Visa fil


Binär
app/block/user.php Visa fil


Binär
app/component/collect/collect.php Visa fil


Binär
app/component/collect/helper.php Visa fil


Binär
app/component/collect/kernel.php Visa fil


Binär
app/component/collect/provider/api.php Visa fil


Binär
app/component/collect/provider/preg.php Visa fil


Binär
app/component/collect/provider/provider.php Visa fil


Binär
app/component/collect/test.php Visa fil


Binär
app/component/compare.php Visa fil


Binär
app/component/console/table.php Visa fil


Binär
app/component/domain.php Visa fil


Binär
app/component/swoole/process.php Visa fil


Binär
app/config/const.php Visa fil


+ 190
- 0
app/config/kuxin.php Visa fil

@@ -0,0 +1,190 @@
<?php
include KX_ROOT . '/env.php';
return [
'app' => [
'debug' => APP_ENV !== 'production',
'mode' => PHP_SAPI == 'cli' ? 'cli' : 'web',
'env' => APP_ENV,
'fastcgi_buffer_fill' => true,
'fastcgi_buffer_size' => 124,
'phpbin' => defined('PHPPATH') ? PHPPATH : 'php',
],
'auth' => [
'crypto_key' => 'www.kxcms.com',
'active_effective' => 24 * 60 * 60,
'max_age' => 7 * 24 * 60 * 60,
],
'url' => [
'ignore_param' => [
'key',
'novelid',
'pinyin',
'chapterid',
'categoryid',
'subcategoryid',
'pageid',
'authorid',
'name',
'subnovelid',
'subnovelidplus',
],
'default_data' => [
'page' => '1',
'siteid' => '0',
],
'auto_calc' => [
'novelid' => [
[ 'name' => 'subnovelid', 'func' => 'subid' ],
[ 'name' => 'subnovelidplus', 'func' => 'subidplus' ],
],
],
],

'rewrite' => [
'power' => true,
],


'view' => [
'driver' => 'mc',
],

'plugin' => [
'app_init' => [],
'app_start' => [
\App\Plugin\ConfigCache\ConfigCache::class,
],
'controller_start' => [],
'controller_end' => [],
'view_start' => [],
'view_end' => [],
],

'apiurl' => API_BASE_URL,


'database' => [
'debug' => true,
'prefix' => '',
'engine' => 'MyISAM',
'common' => [
'driver' => 'mysql',
'option' => [
'host' => KX_DB_HOST,
'port' => KX_DB_PORT,
'user' => KX_DB_USER,
'pwd' => KX_DB_PWD,
'name' => KX_DB_NAME,
],
],
],

//
'storage' => [
'runtime' => [
'driver' => 'file',
'option' => [
'path' => KX_ROOT . '/storage/runtime',
],
],
'log' => [
'driver' => 'file',
'option' => [
'path' => KX_ROOT . '/storage/log',
],
],
'template' => [
'driver' => 'file',
'option' => [
'path' => KX_ROOT . '/storage/template',
],
],
'upload' => [
'driver' => 'file',
'option' => [
'path' => KX_ROOT . '/public/upload',
'url' => '/upload',
],
],
'cover' => [
'driver' => 'file',
'option' => [
'path' => KX_ROOT . '/public/cover',
'url' => '/cover',
],
],
'txt' => [
'driver' => 'file',
'option' => [
'path' => defined('TXT_PATH') ? TXT_PATH : (KX_ROOT . '/storage/txt'),
],
],
],

//缓存设置
'cache' => [
'prefix' => 'kx_',
'time' => 600,
'time_s' => 600,
'time_m' => 600,
'time_l' => 86200,
'common' => [
'driver' => KX_CACHE_COMMON_DRIVER,
'option' => [
'prefix' => defined('KX_CACHE_COMMON_PREFIX') ? KX_CACHE_COMMON_PREFIX : 'kx_',
'host' => defined('KX_CACHE_COMMON_HOST') ? KX_CACHE_COMMON_HOST : '127.0.0.1',
'port' => defined('KX_CACHE_COMMON_PORT') ? KX_CACHE_COMMON_PORT : '11211',
'password' => defined('KX_CACHE_COMMON_PASSWORD') ? KX_CACHE_COMMON_PASSWORD : null,
],
],
'chapter' => [
'driver' => defined('KX_CACHE_CHAPTER_DRIVER') ? KX_CACHE_CHAPTER_DRIVER : 'memcache',
'option' => [
'prefix' => defined('KX_CACHE_CHAPTER_PREFIX') ? KX_CACHE_CHAPTER_PREFIX : 'kx_',
'host' => defined('KX_CACHE_CHAPTER_HOST') ? KX_CACHE_CHAPTER_HOST : '127.0.0.1',
'port' => defined('KX_CACHE_CHAPTER_PORT') ? KX_CACHE_CHAPTER_PORT : '11211',
'password' => defined('KX_CACHE_CHAPTER_PASSWORD') ? KX_CACHE_CHAPTER_PASSWORD : null,
],
],
],


//日志设置
'log' => [
'power' => true,
'buildtype' => [ 'kx', 'debug', 'console' ],
],

// cookie设置
'coookie' => [
'prefix' => 'PTCMS_',
// cookie 保存时间
'expire' => 2592000,
// cookie 保存路径
'path' => '/',
// cookie 有效域名
'domain' => '',
// cookie 启用安全传输
'secure' => false,
// httponly设置
'httponly' => '',
],

//session
'session' => [
'handler' => '',
'path' => '',
'host' => '',
'port' => '',
],

'chapter' => [
'cache_power' => defined('CHAPTER_CACHE_POWER') ? true : false,
],
'novel' => [
'intro_min_length' => defined('NOVEL_INTRO_MIN_LENGTH') ? NOVEL_INTRO_MIN_LENGTH : '50',
'intro_max_length' => defined('NOVEL_INTRO_MAX_LENGTH') ? NOVEL_INTRO_MAX_LENGTH : '500',
],
];
// TXT_PATH txt保存路径
// COLLECT_MODE 采集模式

Binär
app/console/app.php Visa fil


Binär
app/console/cache.php Visa fil


Binär
app/console/collect/repair.php Visa fil


Binär
app/console/collect/sync.php Visa fil


Binär
app/console/collect/test.php Visa fil


Binär
app/console/collect/update.php Visa fil


Binär
app/console/cron.php Visa fil


Binär
app/console/fix.php Visa fil


Binär
app/console/import.php Visa fil


Binär
app/console/install.php Visa fil


Binär
app/console/novel.php Visa fil


Binär
app/console/seo.php Visa fil


Binär
app/console/site.php Visa fil


Binär
app/console/task.php Visa fil


Binär
app/console/test.php Visa fil


Binär
app/console/tool.php Visa fil


Binär
app/controller/api/notice/pay.php Visa fil


Binär
app/controller/api/novel/chapter.php Visa fil


Binär
app/controller/api/novel/novel.php Visa fil


Binär
app/controller/api/novel/search.php Visa fil


Binär
app/controller/api/stat/booklist.php Visa fil


Binär
app/controller/api/stat/novel.php Visa fil


Binär
app/controller/api/stat/special.php Visa fil


Binär
app/controller/author/auth.php Visa fil


Binär
app/controller/author/author.php Visa fil


Binär
app/controller/author/chapter.php Visa fil


Binär
app/controller/author/income.php Visa fil


Binär
app/controller/author/novel.php Visa fil


Binär
app/controller/author/space.php Visa fil


Binär
app/controller/author/stat.php Visa fil


Binär
app/controller/booklist/booklist.php Visa fil


Binär
app/controller/booklist/comment.php Visa fil


Binär
app/controller/comment.php Visa fil


Binär
app/controller/custompage.php Visa fil


Binär
app/controller/desktop.php Visa fil


Binär
app/controller/forum.php Visa fil


Binär
app/controller/index.php Visa fil


Binär
app/controller/manage/author.php Visa fil


Binär
app/controller/manage/collect/collect.php Visa fil


Binär
app/controller/manage/collect/cron.php Visa fil


Binär
app/controller/manage/collect/log.php Visa fil


Binär
app/controller/manage/collect/logcron.php Visa fil


Binär
app/controller/manage/collect/rule.php Visa fil


Binär
app/controller/manage/collect/site.php Visa fil


Binär
app/controller/manage/content/ad/ad.php Visa fil


Binär
app/controller/manage/content/ad/position.php Visa fil


Binär
app/controller/manage/content/banner/banner.php Visa fil


Binär
app/controller/manage/content/banner/position.php Visa fil


Binär
app/controller/manage/content/booklist.php Visa fil


Binär
app/controller/manage/content/category.php Visa fil


Binär
app/controller/manage/content/chapter.php Visa fil


Binär
app/controller/manage/content/comment.php Visa fil


Binär
app/controller/manage/content/feedback.php Visa fil


Binär
app/controller/manage/content/news/category.php Visa fil


Binär
app/controller/manage/content/news/news.php Visa fil


Binär
app/controller/manage/content/novel.php Visa fil


Binär
app/controller/manage/content/recommend.php Visa fil


Binär
app/controller/manage/content/recommendnovel.php Visa fil


Binär
app/controller/manage/content/recommendperiod.php Visa fil


Binär
app/controller/manage/content/special/novel.php Visa fil


Binär
app/controller/manage/content/special/special.php Visa fil


Binär
app/controller/manage/data.php Visa fil


Binär
app/controller/manage/setting.php Visa fil


Binär
app/controller/manage/system/cache.php Visa fil


Binär
app/controller/manage/system/configure.php Visa fil


Binär
app/controller/manage/system/custompage.php Visa fil


Binär
app/controller/manage/system/dashboard.php Visa fil


Binär
app/controller/manage/system/friendlink.php Visa fil


Vissa filer visades inte eftersom för många filer har ändrats

Laddar…
Avbryt
Spara