Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Numbered Posted November 23, 2017 Posted November 23, 2017 Hi friends! I make now application, which should work on 4.1.19 version of IPS. This app will deploy before production will upgrade to 4.2. And i want for make this app working on two versions. All code inside worked now well on both versions, but i need to log member info (ip address and useragent). In 4.2 it must get from Devices, which are not present in 4.1. So my question is: how can i get current version from code for make right logic for each of that versions? Something like \IPS\Settings:i()->current_ips_version.. ) or any. Couldn't find by himself good source of that. upd. found it \IPS\Application::load('core')->version thanks for me)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.