Last active
December 23, 2015 06:29
-
-
Save simeondahl/6594038 to your computer and use it in GitHub Desktop.
This is my CMS
This file contains hidden or 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 | |
| /** | |
| * This script is made by Simeon L. Dahl | |
| */ | |
| include ( 'settings.php' ); | |
| ?> |
This file contains hidden or 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 | |
| /** | |
| * This script is made by Simeon L. Dahl | |
| */ | |
| define ( 'ON' , true ); | |
| define ( 'OFF', false ); | |
| define ( 'URL', $_SERVER['SERVER_NAME'] ); | |
| $debug_mode = ON; //default is OFF | |
| if (!$debug_mode) { | |
| error_reporting(0); | |
| print ( | |
| ' | |
| <div style="margin: 0 auto; border: 1px solid darkred;"> | |
| This website is in debug mode! | |
| </div> | |
| '); | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment