Command Line API

Permalink
I'd like to build a few functions that can be called via PHP command line, or via a PHP exec() call. Things like adduser, deleteuser, etc. I have this working via cURL, but I don't want these functions available via browser at all.

Does Concrete5 have anything built in for this? Any recommendations?

illustrationism
 
JohntheFish replied on at Permalink Reply
JohntheFish
There is a command line API linked from the community projects page.
http://www.concrete5.org/developers/open-source/...
illustrationism replied on at Permalink Reply
illustrationism
Thanks! A few of those were helpful in finding my answer.

I was able to create a script that can be executed from anywhere on the server to add and remove users from any concrete5 site. We are creating a multi-site environment with custom Single Sign-On capabilities, which is why this was needed.

Thanks again.