Mecha CMS

Add extra functionality to the core engine.

Eval Block

Table of Contents
  1. Usage 

Evaluate PHP expression within the page content.

Download Stable Version Download Development Version

Something looks broken? We accept bounties to fix them faster.

^365 Downloads
v2.4.0265 Downloads
v2.3.8237 Downloads
v2.3.7182 Downloads
v2.3.6126 Downloads

This extension is not to be used on a site with multiple users. Other users may use this block to execute malicious functions to break your system.

Usage 

[[e]]
echo $date->year; // Output the current year
[[/e]]