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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
CroNiX Posted August 9, 2014 Share Posted August 9, 2014 (edited) 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. Edited August 9, 2014 by CroNiX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.