Config switch to YAML
This commit is contained in:
parent
edca0cc8cc
commit
ac65f5ee70
4 changed files with 58 additions and 52 deletions
|
@ -27,7 +27,7 @@ THE SOFTWARE.
|
|||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES * * */
|
||||
var disqus_shortname = '<?php echo $blogdisqus; ?>';
|
||||
var disqus_shortname = '<?php echo $config['blog']['disqus']; ?>';
|
||||
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function () {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
|
||||
if ($bloganalytics) { // check if google analytics is enabled
|
||||
if ($config["blog"]["analytics"]) { // check if google analytics is enabled
|
||||
if (!($_SERVER['HTTP_DNT'] == 1)) {
|
||||
?>
|
||||
<script>
|
||||
|
|
Reference in a new issue