/[web]/planet/common/admin/inc/auth.inc.php
ViewVC logotype

Contents of /planet/common/admin/inc/auth.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1619 - (show annotations) (download)
Mon Aug 13 10:45:23 2012 UTC (11 years, 8 months ago) by dams
File size: 228 byte(s)
- Import moonmoon
- Create repo per langs

1 <?php
2 include (dirname(__FILE__).'/pwd.inc.php');
3
4 if ( isset($_COOKIE['auth']) && $_COOKIE['auth'] == $password ) {
5 //ok, cool
6 } else {
7 setcookie('auth','', time()-3600);
8 header('Location: login.php');
9 die;
10 }
11 ?>

  ViewVC Help
Powered by ViewVC 1.1.30