mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
create optional start page for ie8 theme
This commit is contained in:
parent
f88bb7ff9d
commit
1a7aaae416
2 changed files with 16 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
This is a theme for Internet Explorer 8 and above
|
||||
This is a theme for old browsers without full support of SVG and Flexbox like Internet Explorer 8, Opera 12
|
||||
|
||||
To enable it just change the template option in config.php like below:
|
||||
$config['template'] = 'ie8';
|
||||
$config['template'] = 'ie8';
|
||||
|
||||
Or you can copy file index_ie8.php to the root directory and use it as start page.
|
||||
|
|
|
|||
12
src/content/themes/ie8/index_ie8.php
Normal file
12
src/content/themes/ie8/index_ie8.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
require_once('./init.php');
|
||||
|
||||
Config::set('template', 'ie8');
|
||||
|
||||
$url = url_dir( get_unsafe_mttinfo('url'), 0 ) . "index_ie8.php";
|
||||
Config::set('url', $url);
|
||||
reset_mttinfo('url');
|
||||
|
||||
require('./index.php');
|
||||
|
||||
Loading…
Reference in a new issue