Created
September 16, 2020 14:03
-
-
Save lianglee/630071a4f06326f7e6787a1de40c7155 to your computer and use it in GitHub Desktop.
/system/handlers/errors.php replace it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Open Source Social Network | |
* | |
* @package (softlab24.com).ossn | |
* @author OSSN Core Team <[email protected]> | |
* @copyright (C) SOFTLAB24 LIMITED | |
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence | |
* @link https://www.opensource-socialnetwork.org/ | |
*/ | |
$email = ossn_site_settings('owner_email'); | |
$icon = ossn_theme_url().'images/broken.png'; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title><?php echo ossn_site_settings('site_name'); ?></title> | |
<link rel="stylesheet"href="<?php echo ossn_site_url(); ?>themes/<?php echo ossn_site_settings('theme'); ?>/plugins/default/css/exception.css"type="text/css"/> | |
</head> | |
<body> | |
<div class="ossn-exception-topbar">🛠 <span style="margin-left:5px;"><?php echo ossn_site_settings('site_name'); ?></span></div> | |
<div class="ossn-exception-handler"> | |
<div class="container-inner"> | |
<div class="ossn-logo"></div> | |
<div class="title"><?php echo ossn_print('ossn:exception:title', array($email)); ?></div> | |
</div> | |
<div class="ossn-exception-description"> | |
<div> | |
<pre><?php echo $params['exception']; ?></pre> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment