Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
GaneshKandu committed Oct 14, 2017
1 parent 3b98d26 commit 59bbd65
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@

#### Downlaod Kchat Files

#### Using with Composer

```
composer create-project php-kchat/kchat
```

#### Or

#### Using git

```
Expand Down
2 changes: 1 addition & 1 deletion box/core/TempCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getTempDir(){
foreach($temp as $key => $value){
$temp[$key] = rtrim(rtrim($value,'\\'),'/');
}
return array_filter($temp);
return array_values(array_values(array_filter($temp)));
}

function getTemp($temp){
Expand Down
1 change: 0 additions & 1 deletion kchat/actions/msgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ function chats($data){
//seen
$status = '<!--spam style="color:#3EDB2D;">&#10004;</spam-->';
}

$msg[] = array(
'id' => $row['grp_id'],
'message' => msgdecode($data,$row['msg']),
Expand Down
6 changes: 3 additions & 3 deletions kchat/assets/js/enjoyhint.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,17 @@ enjoyhint_script_steps.settings = [
];


//user list
//guest list
enjoyhint_script_steps.usersglist = [
{
"next #usersglist": 'List of all the guest.',
},
{
selector: "selector",
event:'click',
description:'',
description:'Update username and password',
onBeforeStart:function(){
window.location = purl + "/";
window.location = purl + "/users/profile";
}
}
];
Expand Down
2 changes: 1 addition & 1 deletion kchat/lib/TempCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getTempDir(){
foreach($temp as $key => $value){
$temp[$key] = rtrim(rtrim($value,'\\'),'/');
}
return array_filter($temp);
return array_values(array_filter($temp));
}

function getTemp($temp){
Expand Down
2 changes: 1 addition & 1 deletion kchat/lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function config(){
"salt" => _rand(32),
"key" => _rand(12),
"Admin" => "KkEtq2SNzvl02OR", //_rand(8),
"version" => "1.0.0",
"version" => "1.0.2",
"timezone" => date_default_timezone_get(),
);
}
Expand Down

0 comments on commit 59bbd65

Please sign in to comment.