The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check_updates.php
#6
Mudmin,

One thought with this is if you are able to provide the ability to check for the new file name on your server.

So right now you have this script built to check the text in the file on your server, and if it is different, it echos indicating there is a new version and what not. I moved this script into an automatic cron that emails me telling me to update the system.

From there I download the ZIP, upload it to the server and extract it, what I would like to do is run the update checker script, and if there is an update, check another file on your server that tells me the file name to get, e.g. the most recent ZIP was "423to426.zip", so then my server knows that is the file to grab, then when I go to do my updates, the file is already there!

Obviously everybody could use that part of the functionality different, just would be really cool if that would be an option.

Thoughts?

Thank you.
  Reply


Messages In This Thread
check_updates.php - by Brandin - 03-05-2017, 07:30 PM
check_updates.php - by mudmin - 03-06-2017, 01:58 AM
check_updates.php - by mudmin - 03-06-2017, 01:22 PM
check_updates.php - by Brandin - 03-07-2017, 07:20 PM
check_updates.php - by mudmin - 03-08-2017, 03:03 AM
check_updates.php - by Brandin - 04-19-2017, 05:09 PM
check_updates.php - by mudmin - 04-20-2017, 10:37 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)