| 
<?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");
 
 ?>
 |