![]() |
Sergey Kornilov admin 10/4/2012 |
Check MobileDetected() function in source\inclue\commonfunctions.php file. This is where you can tell PHPRunner which devices are mobile and which are not. |
K
|
kjp author 10/5/2012 |
Check MobileDetected() function in source\inclue\commonfunctions.php file. This is where you can tell PHPRunner which devices are mobile and which are not.
|
![]() |
Sergey Kornilov admin 10/5/2012 |
Here is an idea of how you can make it work. if ($_GET["version"]) |
K
|
kjp author 10/5/2012 |
Here is an idea of how you can make it work. Once mobile device is detected we set session variable $_SESSION['isMobile'] to true (false for desktop version). You can display a link or a button that points to sometable_list.php?version=mobile or to sometable_list.php?version=desktop Then in AfterAppInit event you can use the following code: if ($_GET["version"]) |
K
|
kjp author 10/5/2012 |
|