Browse Source

Only require apcu, not apcu_bc

Fixes #27
undefined
spaghetti 7 years ago
committed by Tomochin
parent
commit
004562464b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      design/privatefooter.php
  2. +1
    -1
      design/privateheader.php

+ 1
- 1
design/privatefooter.php View File

@@ -24,7 +24,7 @@
<? if (!empty($LastActive)) { ?>
<p>
<a href="user.php?action=sessions">
<span class="tooltip" title="Manage sessions">Last activity: </span><?=time_diff($LastActive['LastUpdate'])?><span class="tooltip" title="Manage sessions"> from <?=(apc_exists('DBKEY')?(DBCrypt::decrypt($LastActive['IP'])):'[Encrypted]') ?></span>
<span class="tooltip" title="Manage sessions">Last activity: </span><?=time_diff($LastActive['LastUpdate'])?><span class="tooltip" title="Manage sessions"> from <?=(apcu_exists('DBKEY')?(DBCrypt::decrypt($LastActive['IP'])):'[Encrypted]') ?></span>
</a>
</p>
<? } ?>


+ 1
- 1
design/privateheader.php View File

@@ -538,7 +538,7 @@ if (!empty($Alerts) || !empty($ModBar)) { ?>
<?=implode(' | ', $ModBar); echo "\n"?>
</div>
<? }
if (check_perms('site_debug') && !apc_exists('DBKEY')) { ?>
if (check_perms('site_debug') && !apcu_exists('DBKEY')) { ?>
<div class="alertbar" style="color: white; background: #B53939;">
Warning: <a href="tools.php?action=database_key">no DB key</a>
</div>


Loading…
Cancel
Save