Browser sometimes open incorrect interface
Posted: Fri Nov 02, 2012 3:53 am
I have set up my TimeTrex ini file to make the flex interface the default, however it sometimes still opens the standard interface (specifically when opening it up in multiple tabs) unless I tell it to go to timetrex.address/interface/flex
This was confusing the hell out of some of our staff as it they had never seen the other interface before.
I did however find a quick fix that should prevent this from happening. If you only want the flex interface, make a backup of the file
{your_timetrex_folder}/interface/index.php
then edit this file and make sure that this is the only text in that file:
This will force a redirect to the flex interface every time.
Hope this helps somebody else. Also if anybody sees any issues with this method, please let me know.
This was confusing the hell out of some of our staff as it they had never seen the other interface before.
I did however find a quick fix that should prevent this from happening. If you only want the flex interface, make a backup of the file
{your_timetrex_folder}/interface/index.php
then edit this file and make sure that this is the only text in that file:
Code: Select all
<?php
header( 'Location: flex/' ) ;
?>
Hope this helps somebody else. Also if anybody sees any issues with this method, please let me know.