1<?php
2/**
3 * Helper for DokuWiki Plugin netlogo
4 *
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6 * @author  Rik Blok <rik.blok@ubc.ca>
7 *
8 * ToDo:
9 *	* $src should be passed from applet.php [Rik, 2012-09-21]
10 *	* check permissions of $src to make sure user is allowed to view. [Rik, 2012-09-28]
11 */
12
13$src = '../../../../data/media/playground/test.nlogo'; // debugging [Rik, 2012-09-28] - works!
14//$src = 'data/media/playground/test.nlogo'; // debugging [Rik, 2012-09-28] - doesn't work, returns blank file
15
16echo file_get_contents($src);
17
18// vim:ts=4:sw=4:et:
19