forked from kerphi/phpfreechat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat/trunk@1268 2772adf2-ac07-0410-9d30-e29d8120292e
- Loading branch information
Showing
7 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?php | ||
|
||
require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; | ||
$params = array(); | ||
$params["title"] = "Show last posted messages channel"; | ||
$params["serverid"] = md5($params["title"]); // calculate a unique id for this chat | ||
$params["max_msg"] = 20; | ||
$params["channels"] = array("channel1"); | ||
$pfc_config =& pfcGlobalConfig::Instance( $params ); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/** | ||
* file.class.php | ||
* | ||
* Copyright © 2006 Stephane Gully <[email protected]> | ||
* Copyright � 2006 Stephane Gully <[email protected]> | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
@@ -110,7 +110,7 @@ function setMeta($group, $subgroup, $leaf, $leafvalue = NULL) | |
$leafexists = file_exists($leaffilename); | ||
if ($leafvalue == NULL) | ||
{ | ||
unlink($leaffilename); | ||
@unlink($leaffilename); | ||
touch($leaffilename); | ||
} | ||
else | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters