-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsite-settings.php
More file actions
17 lines (14 loc) · 847 Bytes
/
site-settings.php
File metadata and controls
17 lines (14 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
require( 'includes/load-settings.php' );
define( "SITE_TITLE", SETTINGS['site_title']['value'] );
define( "SITE_DESCRIPTION", SETTINGS['site_description']['value'] );
define( "META_DESCRIPTION", SETTINGS['meta_description']['value'] );
define( "SITE_LOGO", SETTINGS['site_logo']['value'] );
define( "THEME_NAME", $options['theme_name'] );
define( "TEMPLATE_PATH", "content/themes/".THEME_NAME );
define( "IMPORT_THUMB", filter_var(SETTINGS['import_thumb']['value'], FILTER_VALIDATE_BOOLEAN) );
define( "COMPRESSION_LEVEL", 95 );
define( "CUSTOM_SLUG", filter_var(SETTINGS['custom_slug']['value'], FILTER_VALIDATE_BOOLEAN) );
define( "UNICODE_SLUG", filter_var(SETTINGS['unicode_slug']['value'], FILTER_VALIDATE_BOOLEAN) );
define( "SMALL_THUMB", filter_var(SETTINGS['small_thumb']['value'], FILTER_VALIDATE_BOOLEAN) );
?>