Proof of Concept, XOOPS Mobile App
Instructions
- Download and extract
- Rename mobile-master folder to mobile
- Copy mobile folder to your XOOPS ROOT PATH
- Open mainfile.php in your XOOPS ROOT PATH
Find the line include XOOPS_ROOT_PATH . '/include/common.php'; at the page bottom
Replace it with the following code
$link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ?
"https" : "http") . "://" . $_SERVER['HTTP_HOST'] .
$_SERVER['REQUEST_URI'];
if (strpos($_SERVER['REQUEST_URI'], 'mobile') !== false OR $link == XOOPS_URL . '/mobile/index.php' OR $link == XOOPS_URL . '/mobile/')
include XOOPS_ROOT_PATH . '/mobile/common.php';
else
include XOOPS_ROOT_PATH . '/include/common.php';
- Test Login with your XOOPS Site Username and Password (eg http://localhost/xoops/mobile/)