-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php.new
More file actions
31 lines (25 loc) · 1.06 KB
/
config.php.new
File metadata and controls
31 lines (25 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
defined('SALT') or define('SALT', '6e30ae8321ec75dc48299cff94afe889460429c4');
defined('MAILJET_USERNAME') or define('MAILJET_USERNAME', '');
defined('MAILJET_PASSWORD') or define('MAILJET_PASSWORD', '');
defined('MAILJET_ID_LIST') or define('MAILJET_ID_LIST', '');
defined('FROM_EMAIL') or define('FROM_EMAIL', 'Framabag <hello@wallabag.org>');
defined('SUBJECT_ACTIVATE') or define('SUBJECT_ACTIVATE', 'Framabag — Activate your account');
defined('SUBJECT_ACTIVATED') or define('SUBJECT_ACTIVATED', 'Framabag — Your account is activated');
defined('SUBJECT_LOST') or define('SUBJECT_LOST', 'Framabag — Lost your password?');
defined('PATH_CORE') or define('PATH_CORE', '/var/www/framabag.org/htdocs/');
mysql_connect('localhost', 'root', '');
mysql_select_db('framabag');
function executeQuery($handle, $sql, $params) {
try
{
$query = $handle->prepare($sql);
$query->execute($params);
return $query;
}
catch (Exception $e)
{
Tools::logm('execute query error : '.$e->getMessage());
return FALSE;
}
}