Parcourir la source

Only require apcu, not apcu_bc

Fixes #27
undefined
spaghetti il y a 7 ans
committed by Tomochin
Parent
révision
004562464b
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      design/privatefooter.php
  2. +1
    -1
      design/privateheader.php

+ 1
- 1
design/privatefooter.php Voir le fichier

@@ -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 Voir le fichier

@@ -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>


Chargement…
Annuler
Enregistrer