diff options
author | zotlabs <mike@macgirvin.com> | 2018-08-04 13:50:49 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-08-04 13:50:49 -0700 |
commit | 8e9d076216a364beecf57574134fb36c12be6e6f (patch) | |
tree | 35debccba292c38bb2c6a50e3d31638cb9cb5633 | |
parent | d908f53607512b8bfa3fbf65cb6fc9623fab5c63 (diff) | |
download | volse-hubzilla-8e9d076216a364beecf57574134fb36c12be6e6f.tar.gz volse-hubzilla-8e9d076216a364beecf57574134fb36c12be6e6f.tar.bz2 volse-hubzilla-8e9d076216a364beecf57574134fb36c12be6e6f.zip |
ability for addons to create .pdl files and load them automatically
-rwxr-xr-x | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2093,6 +2093,8 @@ function load_pdl() { if((! $s) && (($p = theme_include($n)) != '')) $s = @file_get_contents($p); + elseif(file_exists('addon/'. App::$module . '/' . $n)) + $s = @file_get_contents('addon/'. App::$module . '/' . $n); if($s) { App::$comanche->parse($s); App::$pdl = $s; |