Jump to content

Help with defining value


dusanp

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.