new coding convention , Change File name : class_ becomes file.class.php
This commit is contained in:
parent
1d5550713f
commit
f84a96033e
355 changed files with 1011 additions and 1011 deletions
|
|
@ -23,8 +23,8 @@ if (!defined('RECOVER'))
|
|||
define('SIZE_REQUEST', 70);
|
||||
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
/**
|
||||
* @brief generate a random string of char
|
||||
* @param $car int length of the string
|
||||
|
|
@ -63,8 +63,8 @@ if ($action=="") :
|
|||
</form>
|
||||
<?php
|
||||
elseif ($action=="send_email") :
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_sendmail.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/sendmail.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/database.class.php';
|
||||
/*
|
||||
* Check if user exists, if yes save a recover request
|
||||
*/
|
||||
|
|
@ -139,7 +139,7 @@ elseif ($action=="req") :
|
|||
$http=new HttpInput();
|
||||
$request_id=$http->request("req","string", "");
|
||||
if (strlen(trim($request_id))==SIZE_REQUEST) :
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/database.class.php';
|
||||
$cn=new Database(0);
|
||||
|
||||
$value=$cn->get_value("select password from recover_pass where request=$1 and created_on > now() - interval '12 hours' and recover_on is null", array($request_id));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue