![]() When run, this script does the following: Install "Reset" ScriptĪlso contained within the. The next time your demo site is reset, these access restrictions will be in place. Copy the contents of this controllers/ directory into your root controllers/ directory. zip file above, you'll see a controllers/ directory. This locks the admnistrators group out of accessing the /dashboard/files/access page. My demo will use the "concretedemo" user account, with the password "concretedemo," in the "concretedemo" database. That way, if anything is ever disclosed or compromised, there is at least that sandbox in place. It's important that you setup your demo install with its own database, database user, and database access. Reset Script and Permissions Overrides Database Setup This how-to references a reset script and permissions overrides. In this how-to I'll explain how to prepare a database for the demo, setup special demo-specific permissions overrides, create a demo administrative user, install one or more add-ons along with the demo, and provide a script that can be run at any time to reset the demo. This is a how-to geared especially toward our add-on developers, but it'll be useful to anyone who wants to create a cycling concrete5 demo that automatically resets. ![]() If you're running concrete5 5.5.0 and up check out this how-to instead. ![]() Note: This how-to is for concrete5 5.4.2.2 and earlier. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |