Your IP : 216.73.217.69
<?php
/**
* Dobi System
*
* Terms of use and legal restrictions:
* PLEASE READ THESE TERMS ( www.dobi.pl/doc/license/ ) CAREFULLY BEFORE USING THIS PRODUCT.
* USING THIS PRODUCT INDICATES THAT YOU ACCEPT THESE TERMS.
* IF YOU DO NOT ACCEPT THESE TERMS , DO NOT USE THIS PRODUCT.
*
* PHP 5.1.2 and later
*
* @license www.dobi.pl/doc/license/ Dobi License 1.0
* @copyright Copyright (c) 2005-2006 Michał 'Cube' Daniel ( http://www.dobi.pl )
* @link www.dobi.pl
* @package Dobi Core
* @version 1.0, 2006/08/10 11:57
* @author Michał 'Cube' Daniel cube@dobi.pl
*
*/
class dobiExcDirectAccess extends Exception
{
public function __construct($message = NULL, $code = 0)
{
$this->message = $message;
}
public function getErrorMsg()
{
$content = '<div align="center"><h3><b>Dobi System:</b> odmowa dostępu. <br /></h3></div>';
$content .= '<div align="center"><b><u>Nie możesz odpalić tego modułu bezposrednio !</u></b></div><br />';
//$content .= '<hr style="border: 1px dashed; color: black;">';
$content .= '<div align="center"><h3><b>Dobi System:</b> access danied. <br /></h3></div>';
$content .= '<div align="center"><b><u>You cannot access this file directly !<br /></u></b></div><br />';
if ( $this->message != '' || $this->message != NULL)
{
$content .= '<hr><br />Wiecej informacji/ more information: ' . $this->message;
}
return $content;
}
}
?>