pepebe
5/2/2013 - 11:59 AM

Load static files from your server into a chunk.

Load static files from your server into a chunk.

<?php
// [[!staticChunk? &file=`example.html`]]

// add 2do some error handling.

$path="resources/chunks/";

return file_get_contents($path.$file);