PHP Classes

File: SERVER/core/config.php

Recommend this page to a friend!
  Classes of Ettore Moretti   Xaja Notifier   SERVER/core/config.php   Download  
File: SERVER/core/config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Xaja Notifier
Notify user browsing a site in real time with AJAX
Author: By
Last change: Update config.php
Date: 8 years ago
Size: 573 bytes
 

Contents

Class file image Download
<?php
/**
 * Config class
 *
 * Just a configuration class called from XajaServer.php and XajaAdminServer.php
 *
 *
 * PHP version 5
 *
 * @author Ettore Moretti <ettoremoretti27@gmail.com>
 * @version 1.0.0
 *
 */
class Config{
   
// Seconds to wait for deleting users from the table... USE THE SAME TIME FOR THE SESSION
   
const DELETE_AFTER_SECONDS = 60;
   
//Seconds to wait for call to the db... INCREASE THIS VALUE IN PRODUCTION
   
const POLL_WAIT_SECONDS = 2;
   
   
//Db Conf
   
const DB_HOST="localhost";
    const
DB_NAME="xaja";
    const
DB_USER="root";
    const
DB_PSWD="";
   
}