Destoon 6.0 Mobile Station supports access in all browsers

Source: Internet
Author: User

It is inconvenient for us to use the browser's own censorship elements when debugging Destoon 6.0 's Mobile station templates locally.

But Destoon by default is on the computer side can not open the cell phone station, if this setting can be removed, then it is possible.

Removing this restriction means that two steps are required

1. Open mobile/common.inc.php This file

Put if (Strpos ($UA, ' WINDOWS NT ')!== false &&! Dt_debug) Dheader ($EXT [' Mobile_url ']. ' Mobile.php?action=device ');
Log off as
if (Strpos ($UA, ' WINDOWS NT ')!== false &&! Dt_debug) Dheader ($EXT [' Mobile_url ']. ' Mobile.php?action=device ');

2. Find the top file of the Mobile station template template\default/mobile/header.htm

Remove or unregister the following code

{if! Dt_debug}
if (! (' Ontouchend ' in document) && window.location.href.indexOf (' device.php ') = =-1) window.location= ' device.php ';
{/if}

With these two steps set up, we can debug our mobile station template on the computer side.

Destoon 6.0 Mobile Station supports access in all browsers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.