An open API service indexing awesome lists of open source software.

https://github.com/blocka/expressionengine-bootstrap

Access the expression engine environment outside of the CMS
https://github.com/blocka/expressionengine-bootstrap

Last synced: about 1 year ago
JSON representation

Access the expression engine environment outside of the CMS

Awesome Lists containing this project

README

          

This file "bootstraps" the EE environment, so you use the EE "super object" in EE2, or the EE global objects in EE1.

Useful for little one off scripts, or cron jobs that need access to the EE environment.

Example:

db;

require_once APPPATH.'libraries/Template'.EXT;
$EE->TMPL = new EE_Template();
...

Note: EE2 seems to kill some superglobals, so you might want to save these and repopulate them after the bootstrap file is included.