Skip to content

Commit

Permalink
😢 😢 die();
Browse files Browse the repository at this point in the history
😢   😢   die();
  • Loading branch information
GaneshKandu committed Sep 5, 2017
1 parent f94350c commit d656c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kchat/actions/conline.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function action(){
$ip4db = $this->data['config']['path'].'/kchat/data/GeoLiteCity.dat';
$ip6db = $this->data['config']['path'].'/kchat/data/GeoLiteCityv6.dat';

$stmt = $this->data['pdo']->prepare("SELECT `id`,(SELECT concat(`fname`,' ',`lname`) from {$this->dbprefix}users WHERE id = {$this->dbprefix}guest.id) as guest ,`ip`,`country_code`,`time_zone`,`latitude`,`longitude` from {$this->dbprefix}guest;");
$stmt = $this->data['pdo']->prepare("SELECT `id`,(SELECT concat(`fname`,' ',`lname`) from {$this->dbprefix}users WHERE id = {$this->dbprefix}guest.id) as guest ,`ip`,`country_code`,`time_zone`,`latitude`,`longitude` from {$this->dbprefix}guest where `id` IN (SELECT `support_id` FROM `{$this->dbprefix}temp`);");
$stmt->execute();
while ($row = $stmt->fetch())
{
Expand Down
4 changes: 2 additions & 2 deletions kchat/ctrl/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ function index(){
$array['host'] = $_SERVER['HTTP_HOST'];
$install = array();
$install['extensions'] = array(
"gd",
"zip"
"json",
"pdo"
);
$install['writable'] = array(
'config',
Expand Down

0 comments on commit d656c28

Please sign in to comment.