Coder Social home page Coder Social logo

modx_utils's People

Contributors

carnevlu avatar christodhunter avatar fireproofsocks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modx_utils's Issues

Make config test (and potentially others) look for the config.core.php

The config.core.php file contains both the MODX_CORE_PATH and the MODX_CONFIG_KEY, which are both essentially hardcoded right now and would prevent the script from working when either of those are different than the default.

You are telling people to adjust $path_to_core if it's different, but the more plug and play the better, right? ;)

backupmodx.php

I wanted to try your backupmodx.php script, but I didn't succeed. The file does not even run (error in line 515, unexpected '}').
After having a closer look at the code, I got the impression that something went wrong while uploading it to GIT. Is it possible, that the lower half of the file backupmodx.php consists of code of installmodx.php? Or is it just too late and I should get some sleep :)

Test for PHP version before executing

This is tough to do in a single file, but I've already gotten questions/problems with people trying to run this via PHP 5.2 (which fails). It might be possible to put the tests up front, and then once they pass, eval the rest of the script (contained in a heredoc block). Janky, but it would probably do the trick.

Read only files skipped

If any files can't be copied they're skipped by the script. It would be great if the script checked if all are writeable first and aborted if any were not.

New features for installmodx.php

  • pass-thru all arguments available to the setup/index.php script: i.e. support for updates
  • support for installations to sub-dirs
  • allow for versions to be specified, e.g. --version
  • remind user to save their config.xml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.