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
<? | |
class Debug { | |
const log = 0; | |
const success = 1; | |
const warning = 2; | |
const error = 3; | |
private static $init = false; | |
public static function start() { | |
session_start(); | |
if (!$_SESSION["debug"]) { |
NewerOlder