Remove duplicate function from rslight-lib.php.
This commit is contained in:
parent
1d6042796d
commit
4fc6bd5090
|
@ -2,7 +2,6 @@
|
||||||
function interact($msgsock, $use_crypto=false)
|
function interact($msgsock, $use_crypto=false)
|
||||||
{
|
{
|
||||||
global $CONFIG,$logdir,$lockdir,$logfile,$installed_path,$config_path,$config_dir,$groupconfig,$workpath,$path, $spooldir,$nntp_group,$nntp_article,$auth_ok,$user,$pass;
|
global $CONFIG,$logdir,$lockdir,$logfile,$installed_path,$config_path,$config_dir,$groupconfig,$workpath,$path, $spooldir,$nntp_group,$nntp_article,$auth_ok,$user,$pass;
|
||||||
|
|
||||||
$workpath=$spooldir."/";
|
$workpath=$spooldir."/";
|
||||||
$path=$workpath."articles/";
|
$path=$workpath."articles/";
|
||||||
$groupconfig=$spooldir."/spoolnews/groups.txt";
|
$groupconfig=$spooldir."/spoolnews/groups.txt";
|
||||||
|
@ -1284,8 +1283,4 @@ function create_node_ssl_cert($pemfile) {
|
||||||
chmod($pubkeyfile,0660);
|
chmod($pubkeyfile,0660);
|
||||||
chmod($pubkeytxtfile,0660);
|
chmod($pubkeytxtfile,0660);
|
||||||
}
|
}
|
||||||
|
|
||||||
function format_log_date() {
|
|
||||||
return date('M d H:i:s');
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue