Login   Register  
PHP Classes
elePHPant
Icontem

File: conf.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Viktor  >  Universal comment module  >  conf.php  >  Download  
File: conf.php
Role: Configuration script
Content type: text/plain
Description: Main Configuration file
Class: Universal comment module
Generic site comments system
Author: By
Last change:
Date: 2008-04-18 15:04
Size: 913 bytes
 

Contents

Class file image Download
<?php
    
/*
    by ivi.
    www: newsroot.net
    E-mail: ivi.viktor@gmail.com
    ICQ# 4405730
    */



    
$db_host  ="localhost";
    
$db_name  ="comment";    //database name
    
$db_user  ="admin";    // database user
    
$db_pass  ="admin";    // database pass
    
    
    
define("_URL_","http://newsroot.net/comment/"); // full url to comment forlder with '/'
    //Sample: define("_URL_","http://newsroot.net/comment/");
    
    
define("URL_TO_API",_URL_."comment_api.php");// url for ajax api.php. for sample http://mysite.com/comment/api.php
    
define("_PATH","/var/www/vhosts/newsroot.net/comment/");// path to script. 
    //Sample: for windows: define("_PATH","E:/www/vhosts/newsroot.net/comment/");
    //Sample: for unix: define("_PATH","/var/www/vhosts/newsroot.net/comment/");
    
    
    
    
define("_MESSAGES_DERECTION",0); // 0- append ; 1 - prepend
    
    
define("_COMMENT_TABLE","db_comment");
    
define("_DATE_FORMAT","d.m.y");
    
?>