Guest User

Untitled

a guest
May 10th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <?php
  2. //----Some Basic Details----//
  3. //Your Username//
  4. $username = 'username';
  5.  
  6. //A Password//
  7. $password = 'password';
  8.  
  9. //A Title for your blog//
  10. global $title; $title = 'Dot';
  11.  
  12. //A description for your blog//
  13. global $description; $description = 'The simple, text file based blogging system';
  14.  
  15. //What's your blog's url (without a trailing slash)//
  16. global $url; $url = '..';
  17.  
  18. //Enter the name of your theme here (leave it as it is to use the default theme)//
  19. global $theme; $theme='cleen';
  20.  
  21. // That's it! Stop Editing! (Unless you know what you're doing!)//
  22. error_reporting(E_ALL ^ E_NOTICE);
  23. session_start();
  24. header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');
  25. header('Cache-Control: no-store, no-cache, must-revalidate');
  26. header('Cache-Control: post-check=0, pre-check=0', false);
  27. header('Pragma: no-cache');
  28. $cookie_name = 'siteAuth';
  29. $cookie_time = (3600 * 24 * 30);
  30. if(!$_SESSION['username']){include_once 'autologin.php';}
  31. ?>
Add Comment
Please, Sign In to add comment