Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (62 sloc) 2.821 kb
0bc8613 b2config.php replaced with wp-config.sample.php
mikelittle authored
1 <?php
2 //setup the old globals from b2config.php
3 //
4 // We should eventually migrate to either calling
5 // get_settings() wherever these are needed OR
6 // accessing a single global $all_settings var
7
8 $siteurl = get_settings('siteurl');
9 $blogfilename = get_settings('blogfilename');
10 $blogname = get_settings('blogname');
11 $blogdescription = get_settings('blogdescription');
12 $admin_email = get_settings('admin_email');
13 $new_users_can_blog = get_settings('new_users_can_blog');
14 $users_can_register = get_settings('users_can_register');
15 $start_of_week = get_settings('start_of_week');
16 $use_preview = get_settings('use_preview');
17 $use_bbcode = get_settings('use_bbcode');
18 $use_gmcode = get_settings('use_gmcode');
19 $use_quicktags = get_settings('use_quicktags');
20 $use_htmltrans = get_settings('use_htmltrans');
21 $use_balanceTags = get_settings('use_balanceTags');
22 $use_fileupload = get_settings('use_fileupload');
23 $fileupload_realpath = get_settings('fileupload_realpath');
24 $fileupload_url = get_settings('fileupload_url');
25 $fileupload_allowedtypes = get_settings('fileupload_allowedtypes');
26 $fileupload_maxk = get_settings('fileupload_maxk');
27 $fileupload_minlevel = get_settings('fileupload_minlevel');
28 $fileupload_allowedusers = get_settings('fileupload_allowedusers');
29 $posts_per_rss = get_settings('posts_per_rss');
30 $rss_language = get_settings('rss_language');
31 $rss_encoded_html = get_settings('rss_encoded_html');
32 $rss_excerpt_length = get_settings('rss_excerpt_length');
33 $rss_use_excerpt = get_settings('rss_use_excerpt');
34 $use_weblogsping = get_settings('use_weblogsping');
35 $use_blodotgsping = get_settings('use_blodotgsping');
36 $blodotgsping_url = get_settings('blodotgsping_url');
37 $use_trackback = get_settings('use_trackback');
38 $use_pingback = get_settings('use_pingback');
39 $require_name_email = get_settings('require_name_email');
40 $comment_allowed_tags = get_settings('comment_allowed_tags');
41 $comments_notify = get_settings('comments_notify');
42 $use_smilies = get_settings('use_smilies');
43 $smilies_directory = get_settings('smilies_directory');
44 $mailserver_url = get_settings('mailserver_url');
45 $mailserver_login = get_settings('mailserver_login');
46 $mailserver_pass = get_settings('mailserver_pass');
47 $mailserver_port = get_settings('mailserver_port');
48 $default_category = get_settings('default_category');
49 $subjectprefix = get_settings('subjectprefix');
50 $bodyterminator = get_settings('bodyterminator');
51 $emailtestonly = get_settings('emailtestonly');
52 $use_phoneemail = get_settings('use_phoneemail');
53 $phoneemail_separator = get_settings('phoneemail_separator');
54
55 if (get_settings('search_engine_friendly_urls')) {
56 $querystring_start = '/';
57 $querystring_equal = '/';
58 $querystring_separator = '/';
59 } else {
60 $querystring_start = '?';
61 $querystring_equal = '=';
62 $querystring_separator = '&amp;';
63 }
64 ?>
Something went wrong with that request. Please try again.