Browse Source

Moving the configList

pull/686/head
danpros 1 year ago
parent
commit
3df550a86f
3 changed files with 71 additions and 2 deletions
  1. +0
    -1
      content/data/configList.json
  2. +1
    -1
      system/admin/views/config-custom.html.php
  3. +70
    -0
      system/configList.json

+ 0
- 1
content/data/configList.json View File

@ -1 +0,0 @@
["site.url","timezone","date.format","language","blog.title","blog.tagline","blog.description","blog.copyright","permalink.type","static.frontpage","blog.enable","social.twitter","social.facebook","breadcrumb.home","comment.system","fb.appid","fb.num","fb.color","disqus.shortname","google.wmt.id","google.analytics.id","google.gtag.id","google.reCaptcha","google.reCaptcha.public","google.reCaptcha.private","posts.perpage","category.perpage","tag.perpage","archive.perpage","search.perpage","profile.perpage","type.perpage","json.count","category.info","related.count","recent.count","popular.count","tagcloud.count","teaser.type","read.more","teaser.char","description.char","rss.count","rss.char","views.counter","sitemap.priority.base","sitemap.priority.post","sitemap.priority.static","sitemap.priority.category","sitemap.priority.tag","sitemap.priority.archiveDay","sitemap.priority.archiveMonth","sitemap.priority.archiveYear","sitemap.priority.author","sitemap.priority.type","prerelease","cache.expiration","cache.off","generation.time","cache.timestamp","multi.site","toc.label","toc.state","toc.style","toc.automatic","toc.position","views.root","views.layout"]

+ 1
- 1
system/admin/views/config-custom.html.php View File

@ -28,7 +28,7 @@
if (file_exists($config_file)) {
$array = parse_ini_file($config_file, true);
}
$configList = json_decode(file_get_contents('content/data/configList.json', true));
$configList = json_decode(file_get_contents('system/configList.json', true));
foreach ($array as $key => $value) {
if (!in_array($key, $configList)) {
echo '<tr>';


+ 70
- 0
system/configList.json View File

@ -0,0 +1,70 @@
[
"site.url",
"timezone",
"date.format",
"language",
"blog.title",
"blog.tagline",
"blog.description",
"blog.copyright",
"permalink.type",
"static.frontpage",
"blog.enable",
"social.twitter",
"social.facebook",
"breadcrumb.home",
"comment.system",
"fb.appid",
"fb.num",
"fb.color",
"disqus.shortname",
"google.wmt.id",
"google.analytics.id",
"google.gtag.id",
"google.reCaptcha",
"google.reCaptcha.public",
"google.reCaptcha.private",
"posts.perpage",
"category.perpage",
"tag.perpage",
"archive.perpage",
"search.perpage",
"profile.perpage",
"type.perpage",
"json.count",
"category.info",
"related.count",
"recent.count",
"popular.count",
"tagcloud.count",
"teaser.type",
"read.more",
"teaser.char",
"description.char",
"rss.count",
"rss.char",
"views.counter",
"sitemap.priority.base",
"sitemap.priority.post",
"sitemap.priority.static",
"sitemap.priority.category",
"sitemap.priority.tag",
"sitemap.priority.archiveDay",
"sitemap.priority.archiveMonth",
"sitemap.priority.archiveYear",
"sitemap.priority.author",
"sitemap.priority.type",
"prerelease",
"cache.expiration",
"cache.off",
"generation.time",
"cache.timestamp",
"multi.site",
"toc.label",
"toc.state",
"toc.style",
"toc.automatic",
"toc.position",
"views.root",
"views.layout"
]

Loading…
Cancel
Save