-
☆ A M B ☆
- 24,524 Posts
This is a fork of pathologic's and dmi3yy's MODX installer, revised to support Revo and to provide a cURL fallback in case allow_url_fopen is not enabled on the user's server.
Otherwise, it is used in the same way, and provides the same functionality. It is run independently from MODX (i.e. domain.com/install.php), and offers a selection of Revo versions to install. It downloads the selected .zip archive from the MODX repository, unzips it in location, deletes itself, and redirects the user to the Setup start page.
The server must have either allow_url_fopen or cURL enabled in PHP, as well as the PHP zip functions.
[ed. note: sottwell last edited this post 12 years, 1 month ago.]
Just tried it from 2.2.15 to 2.3.1.
Works like a charm !
Thank you for this fabulous script !
-
☆ A M B ☆
- 24,524 Posts
Yes, I was delighted with it when I first discovered it, and being a tinkerer didn't take long to start fiddling with it, until I figured I'd better go ahead and fork it. Of course, pathologic and dmi3yy are more than welcome to any of the code changes I've made if they are interested.
Hi Susan!
is it not risky to have allow_url_fopen activated ?
My hosting company tells me i can use it at my own risk...
I think it will use cURL if allow_url_fopen is not enabled.
-
☆ A M B ☆
- 24,524 Posts
The latest version updated for Revo will use cURL or fopen, whichever is available.