Skip to content

Commit

Permalink
Update default X-UA-Compatible setting
Browse files Browse the repository at this point in the history
No longer required with modern IE or Edge browser.
  • Loading branch information
slackero committed Dec 31, 2017
1 parent 64a7388 commit cc9647e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/config/dist.conf.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
$phpwcms['enable_deprecated'] = false; // enable/disable deprecated functionality, enable if you miss things
$phpwcms['canonical_off'] = false; // disable canonical link tag
$phpwcms['viewport'] = ''; // set viewport like "width=device-width, initial-scale=1.0, user-scalable=no"
$phpwcms['X-UA-Compatible'] = 'IE=Edge'; // set browser compatibility mode using meta tag X-UA-Compatible
$phpwcms['X-UA-Compatible'] = ''; // what version of Internet Explorer the page should be rendered as, IE=edge, IE=10...
$phpwcms['base_href'] = false; // set the <base href=""> tag, use string (URL) or bool TRUE/FALSE
$phpwcms['cp_default'] = 0; // set the default CP ID here as used in structure level editor, see http://goo.gl/BVODr
$phpwcms['js_in_body'] = 0; // add <script> direct before </body> instead inside of <head>
Expand Down
2 changes: 1 addition & 1 deletion setup/inc/setup.func.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function write_conf_file($val) {
$conf_file .= "\$phpwcms['reserved_alias'] = array(); // use this to block custom alias\n";
$conf_file .= "\$phpwcms['canonical_off'] = false; // disable canonical link tag\n";
$conf_file .= "\$phpwcms['viewport'] = ''; // set viewport like \"width=device-width, initial-scale=1.0, user-scalable=no\"\n";
$conf_file .= "\$phpwcms['X-UA-Compatible'] = 'IE=Edge'; // set browser compatibility mode using meta tag X-UA-Compatible\n";
$conf_file .= "\$phpwcms['X-UA-Compatible'] = ''; // what version of Internet Explorer the page should be rendered as, IE=edge, IE=10...\n";
$conf_file .= "\$phpwcms['base_href'] = false; // set the <base href=\"\"> tag, use string (URL) or bool TRUE/FALSE\n";
$conf_file .= "\$phpwcms['cp_default'] = 0; // set the default CP ID here as used in structure level editor, see http://goo.gl/BVODr\n";
$conf_file .= "\$phpwcms['js_in_body'] = 0; // add <script> direct before </body> instead inside of <head>\n";
Expand Down
2 changes: 1 addition & 1 deletion setup/setup.conf.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
$phpwcms['enable_deprecated'] = false; // enable/disable deprecated functionality, enable if you miss things
$phpwcms['canonical_off'] = false; // disable canonical link tag
$phpwcms['viewport'] = ''; // set viewport like "width=device-width, initial-scale=1.0, user-scalable=no"
$phpwcms['X-UA-Compatible'] = 'IE=Edge'; // set browser compatibility mode using meta tag X-UA-Compatible
$phpwcms['X-UA-Compatible'] = ''; // what version of Internet Explorer the page should be rendered as, IE=edge, IE=10...
$phpwcms['base_href'] = false; // set the <base href=""> tag, use string (URL) or bool TRUE/FALSE
$phpwcms['cp_default'] = 0; // set the default CP ID here as used in structure level editor, see http://goo.gl/BVODr
$phpwcms['js_in_body'] = 0; // add <script> direct before </body> instead inside of <head>
Expand Down

0 comments on commit cc9647e

Please sign in to comment.