Login   Register  
PHP Classes
elePHPant
Icontem

File: include/hhsecureobject.config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Hermawan Haryanto  >  HHSecureObject  >  include/hhsecureobject.config.php  >  Download  
File: include/hhsecureobject.config.php
Role: Configuration script
Content type: text/plain
Description: Config File
Class: HHSecureObject
Authenticate users with accounts defined in arrays
Author: By
Last change:
Date: 9 years ago
Size: 532 bytes
 

Contents

Class file image Download
<?php
    
/**
    * Security Configuration
    */

    # Accounts

    
$hhsecureobject['config']['accounts']['username'][1] = 'admin';
    
$hhsecureobject['config']['accounts']['password'][1] = 'admin';

    
# Account Example
    // $hhsecureobject['config']['accounts']['username'][2] = 'test';
    // $hhsecureobject['config']['accounts']['password'][2] = 'test';
    
    # Error Words
    
$hhsecureobject['config']['error'] = 'This is protected area, you should login first.';

    
# Auth Title
    
$hhsecureobject['config']['auth'] = 'Admin Area';
?>