Skip to content

Commit

Permalink
$CONFのキー名で<%sitevar%>を呼び出せるようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
yama committed Sep 7, 2014
1 parent 59505c4 commit 32a99c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nucleus/libs/ACTIONS.php
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,10 @@ function parse_sitevar($which) {
break;
case 'adminurl':
echo $CONF['AdminURL'];
break;
default:
if(isset($CONF[$which]))
echo $CONF[$which];
}
}

Expand Down

0 comments on commit 32a99c8

Please sign in to comment.