Skip to content

Commit

Permalink
Merge pull request #2 from JasonRox18/patch-2
Browse files Browse the repository at this point in the history
added exp rate to the list
  • Loading branch information
slawkens committed Jun 6, 2017
2 parents 45b61e5 + b212e9f commit f393e52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion system/pages/serverinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
echo '<li>Houses with inactive owners are cleaned after 30 days.</li>';
}

if(isset($config['lua']['rate_exp']))
$config['lua']['rateExp'] = $config['lua']['rate_exp'];
if(isset($config['lua']['rate_mag']))
$config['lua']['rateMagic'] = $config['lua']['rate_mag'];
if(isset($config['lua']['rate_skill']))
Expand All @@ -72,7 +74,10 @@
<br/>

<h2>Rates</h2>
<?php if(isset($config['lua']['rateMagic'])): ?>
<?php if(isset($config['lua']['rateExp'])): ?>
<li>Exp Rate: <b>x<?php echo $config['lua']['rateExp']; ?></b></li>
<?php endif;
if(isset($config['lua']['rateMagic'])): ?>
<li>Magic Level: <b>x<?php echo $config['lua']['rateMagic']; ?></b></li>
<?php endif;
if(isset($config['lua']['rateSkill'])): ?>
Expand Down

0 comments on commit f393e52

Please sign in to comment.