Skip to content

Commit

Permalink
Moving the configList
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Feb 25, 2024
1 parent c53e43d commit 3df550a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
1 change: 0 additions & 1 deletion content/data/configList.json

This file was deleted.

2 changes: 1 addition & 1 deletion system/admin/views/config-custom.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
Expand Down
70 changes: 70 additions & 0 deletions system/configList.json
Original file line number Diff line number Diff line change
@@ -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"
]

0 comments on commit 3df550a

Please sign in to comment.