1,4 → 1,6 |
<?php |
# $Id$ |
|
# Test présence de clé/modem |
$exec_com=exec("lsusb | grep -i 067b | cut -d ' ' -f6 | cut -d ' ' -f1"); |
$exec_com2=exec("lsusb | grep -i 12d1 | cut -d ' ' -f6 | cut -d ' ' -f1"); |
730,12 → 732,12 |
|
require('/etc/freeradius-web/config.php'); |
|
if (is_file("../../../pass/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../../../pass/sql/drivers/$config[sql_type]/functions.php"); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo "<b>Could not include SQL library</b>\n"; |
exit(); |
} |
} |
|
$con = mysqli_connect("$config[sql_server]","$config[sql_username]","$config[sql_password]","gammu"); |
|
Property changes: |
Added: svn:keywords |
+Id |
\ No newline at end of property |