Permalink
Browse files

prepare 2.1.1

  • Loading branch information...
1 parent 8b2c4f9 commit 575d7900ba7c9751205c9db837d092f7f57b7f69 @kerphi committed Mar 1, 2013
Showing with 10 additions and 10 deletions.
  1. +8 −8 README.md
  2. +1 −1 package.json
  3. +1 −1 server/config.php
View
@@ -8,22 +8,22 @@
* A server with:
* php >= 5.3.0 ([Slim framework](https://github.com/codeguy/Slim/blob/master/README.markdown#system-requirements) dependency)
* apache server with mod_rewrite and .htaccess enabled
- * write access to the phpfreechat-2.1.0/server/data/ and phpfreechat-2.1.0/server/log/ folder (777 or write permission for the web server)
+ * write access to the phpfreechat-2.1.1/server/data/ and phpfreechat-2.1.1/server/log/ folder (777 or write permission for the web server)
* No database needed !
## Quick start
-Download [phpfreechat-2.1.0.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
+Download [phpfreechat-2.1.1.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
JQuery should be included in your html `<head>` before the phpfreechat code:
```html
- <script src="/phpfreechat-2.1.0/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
+ <script src="/phpfreechat-2.1.1/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
```
Include the phpfreechat plugin in your html `<head>`:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
- <script src="/phpfreechat-2.1.0/client/pfc.min.js" type="text/javascript"></script>
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.1/client/themes/default/jquery.phpfreechat.min.css" />
+ <script src="/phpfreechat-2.1.1/client/pfc.min.js" type="text/javascript"></script>
```
Add this piece of HTML in your `<body>` where you want the chat to be displayed:
@@ -36,7 +36,7 @@ Add this piece of HTML in your `<body>` where you want the chat to be displayed:
The add this piece of code just after (it will hook the chat on the page):
```html
<script type="text/javascript">
- $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.1.0/server' });
+ $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.1.1/server' });
</script>
```
@@ -51,9 +51,9 @@ phpfreechat is released with few themes. You can choose which one you want to us
To select the theme, you only have to change one line in your html `<head>`. To use the `default` theme:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.1/client/themes/default/jquery.phpfreechat.min.css" />
```
or this code for `carbon` theme:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/carbon/jquery.phpfreechat.min.css" />
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.1/client/themes/carbon/jquery.phpfreechat.min.css" />
```
View
@@ -1,6 +1,6 @@
{
"name": "phpfreechat",
- "version": "2.1.0",
+ "version": "2.1.1",
"author": "Stéphane Gully <contact@phpfreechat.net>",
"homepage": "http://www.phpfreechat.net",
"license": "MIT",
View
@@ -1,7 +1,7 @@
<?php
// phpfreechat version
-$GLOBALS['pfc_version'] = '2.1.0';
+$GLOBALS['pfc_version'] = '2.1.1';
// This is the time of inactivity to wait before considering a user is disconnected (in milliseconds).
// A user is inactive only if s/he closed his/her chat window. A user with an open chat window is not

0 comments on commit 575d790

Please sign in to comment.