mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Enable PHP execution of external document if template parsing is enabled
This commit is contained in:
parent
09abdfa88a
commit
e8eece5730
2 changed files with 14 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ class pageAdminController extends page
|
|||
$args->mpath = (!$args->mpath) ? '' : $args->mpath;
|
||||
$args->opage_proc_php = $args->opage_proc_php ?? 'N';
|
||||
$args->opage_proc_tpl = $args->opage_proc_tpl ?? 'N';
|
||||
if ($args->opage_proc_tpl === 'Y')
|
||||
{
|
||||
$args->opage_proc_php = 'Y';
|
||||
}
|
||||
unset($args->page_name);
|
||||
|
||||
if($args->use_mobile != 'Y') $args->use_mobile = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue