mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Moving the configList
This commit is contained in:
parent
c53e43ddc9
commit
3df550a86f
3 changed files with 71 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
@ -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
system/configList.json
Normal file
70
system/configList.json
Normal 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…
Add table
Add a link
Reference in a new issue