dusanp Posted August 9, 2014 Share Posted August 9, 2014 Hello Guys I need help. I found one PHP script for simple auto update of "system" (automatic updating of website for example) http://maxmorgandesign.com/simple_php_auto_update_system/ I want to adjust this script for my project, and In this code there is a line (on line 10): echo '<p>CURRENT VERSION: '.get_siteInfo('CMS-Version').'</p>'; which variable should write in my page to define curent version of CMS? I try to googleit but unsuccessful :-/ Many thanks Link to comment https://forums.phpfreaks.com/topic/290366-help-with-defining-value/ Share on other sites More sharing options...
ginerjm Posted August 9, 2014 Share Posted August 9, 2014 Does this script belong to a CMS package? Link to comment https://forums.phpfreaks.com/topic/290366-help-with-defining-value/#findComment-1487256 Share on other sites More sharing options...
dusanp Posted August 9, 2014 Author Share Posted August 9, 2014 Maybe some CMS package, but not my Link to comment https://forums.phpfreaks.com/topic/290366-help-with-defining-value/#findComment-1487257 Share on other sites More sharing options...
CroNiX Posted August 9, 2014 Share Posted August 9, 2014 There is a LOT of customization you will have to do with that specific script. I'm sorry, but based on your original question, I think this is too advanced for you and you will need a lot of help making the script work for your needs if you are not understanding what it's doing. But in short, let's pretend this is WordPress. Each wordpress installation contains the current version number of the install, which you would need to know in order to check the main wordpress site to see if a newer version was available by comparing the 2 versions (your install vs main wordpress site). That's what get_siteInfo('CMS-Version') is doing, but it's specific to that authors custom CMS he developed. So you'd have to make your own. Link to comment https://forums.phpfreaks.com/topic/290366-help-with-defining-value/#findComment-1487266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.