Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //----Some Basic Details----//
- //Your Username//
- $username = 'username';
- //A Password//
- $password = 'password';
- //A Title for your blog//
- global $title; $title = 'Dot';
- //A description for your blog//
- global $description; $description = 'The simple, text file based blogging system';
- //What's your blog's url (without a trailing slash)//
- global $url; $url = '..';
- //Enter the name of your theme here (leave it as it is to use the default theme)//
- global $theme; $theme='cleen';
- // That's it! Stop Editing! (Unless you know what you're doing!)//
- error_reporting(E_ALL ^ E_NOTICE);
- session_start();
- header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');
- header('Cache-Control: no-store, no-cache, must-revalidate');
- header('Cache-Control: post-check=0, pre-check=0', false);
- header('Pragma: no-cache');
- $cookie_name = 'siteAuth';
- $cookie_time = (3600 * 24 * 30);
- if(!$_SESSION['username']){include_once 'autologin.php';}
- ?>
Add Comment
Please, Sign In to add comment