diff options
Diffstat (limited to 'views/admin/ueber.phtml')
| -rw-r--r-- | views/admin/ueber.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml index ba2786d..90650c2 100644 --- a/views/admin/ueber.phtml +++ b/views/admin/ueber.phtml @@ -152,11 +152,11 @@ <?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog') { ?>
<?php echo wpsg_drawForm_AdminboxStart(__('Fehlerprotokoll', 'wpsg'), '', array('style' => 'width:905px;')); ?>
- <?php if (!file_exists($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log')) { ?>
+ <?php if (!file_exists(wpsg_ShopController::getShop()->getStorageRoot().'exception.log')) { ?>
<p><?php echo __('Es wurden noch keine Systemfehler aufgezeichnet.', 'wpsg'); ?></p>
<?php } else { ?>
- <textarea style="width:875px; overflow-y:scroll; height:500px; font-size:12px; font-family:Courier;"><?php echo file_get_contents($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log'); ?></textarea>
+ <textarea style="width:875px; overflow-y:scroll; height:500px; font-size:12px; font-family:Courier;"><?php echo file_get_contents(wpsg_ShopController::getShop()->getStorageRoot().'exception.log'); ?></textarea>
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=clearSysLog&noheader=1" class="button"><?php echo __('Protokolldatei löschen', 'wpsg'); ?></a>
|
