Edit File: Unauthorized.inc
<?php /** * Author: Shlomi * Date: Sep 4, 2017 9:59:31 AM * Founder: Shlomi Bazak (SBZsoft) (c) * File: FileNotPresentException.inc * * Description: * */ namespace B2\Exceptions; // No direct access. defined("__NSS__") or die("Restrected Access."); class Unauthorized extends B2Exception { public function __construct($message = null, $code = null, $previous = null){ parent::__construct("You are not Authorized to make this oppertion.", $code, $previous); } }