Skip to content

Commit 59bbd65

Browse files
committed
fix
fix
1 parent 3b98d26 commit 59bbd65

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717

1818
#### Downlaod Kchat Files
1919

20+
#### Using with Composer
21+
22+
```
23+
composer create-project php-kchat/kchat
24+
```
25+
26+
#### Or
27+
2028
#### Using git
2129

2230
```

box/core/TempCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function getTempDir(){
1616
foreach($temp as $key => $value){
1717
$temp[$key] = rtrim(rtrim($value,'\\'),'/');
1818
}
19-
return array_filter($temp);
19+
return array_values(array_values(array_filter($temp)));
2020
}
2121

2222
function getTemp($temp){

kchat/actions/msgs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ function chats($data){
177177
//seen
178178
$status = '<!--spam style="color:#3EDB2D;">&#10004;</spam-->';
179179
}
180-
181180
$msg[] = array(
182181
'id' => $row['grp_id'],
183182
'message' => msgdecode($data,$row['msg']),

kchat/assets/js/enjoyhint.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,17 @@ enjoyhint_script_steps.settings = [
171171
];
172172

173173

174-
//user list
174+
//guest list
175175
enjoyhint_script_steps.usersglist = [
176176
{
177177
"next #usersglist": 'List of all the guest.',
178178
},
179179
{
180180
selector: "selector",
181181
event:'click',
182-
description:'',
182+
description:'Update username and password',
183183
onBeforeStart:function(){
184-
window.location = purl + "/";
184+
window.location = purl + "/users/profile";
185185
}
186186
}
187187
];

kchat/lib/TempCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function getTempDir(){
2222
foreach($temp as $key => $value){
2323
$temp[$key] = rtrim(rtrim($value,'\\'),'/');
2424
}
25-
return array_filter($temp);
25+
return array_values(array_filter($temp));
2626
}
2727

2828
function getTemp($temp){

kchat/lib/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function config(){
5252
"salt" => _rand(32),
5353
"key" => _rand(12),
5454
"Admin" => "KkEtq2SNzvl02OR", //_rand(8),
55-
"version" => "1.0.0",
55+
"version" => "1.0.2",
5656
"timezone" => date_default_timezone_get(),
5757
);
5858
}

0 commit comments

Comments
 (0)