| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/ptitsanes/plugins/user/solidres/components/com_solidres/controllers/ |
Upload File : |
<?php
/*------------------------------------------------------------------------
Solidres - Hotel booking extension for Joomla
------------------------------------------------------------------------
@Author Solidres Team
@Website http://www.solidres.com
@Copyright Copyright (C) 2013 - 2016 Solidres. All Rights Reserved.
@License GNU General Public License version 3, or later
------------------------------------------------------------------------*/
defined('_JEXEC') or die;
/**
* @package Solidres
* @subpackage User
* @since 0.8.0
*/
class SolidresControllerUser extends JControllerLegacy
{
public function __construct($config = array())
{
parent::__construct($config);
}
/**
* Check to see if the username exists
*
* @return json
*/
public function check()
{
$username = $this->input->getString('username', '');
$id = (int) JUserHelper::getUserId($username);
$status = true;
if ($id)
{
$status = false;
}
echo json_encode($status);
}
}