mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 12:44:50 +00:00
Convert custom function names to camelCase
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Not including the guest header as we don't want any HTML output
|
||||
include("config.php");
|
||||
include("functions.php");
|
||||
$ip = trim(strip_tags(mysqli_real_escape_string($mysqli,get_ip())));
|
||||
$ip = trim(strip_tags(mysqli_real_escape_string($mysqli,getIp())));
|
||||
$user_agent = strip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT']));
|
||||
|
||||
if (isset($_GET['id']) && isset($_GET['key'])) {
|
||||
@@ -65,4 +65,4 @@ if (isset($_GET['id']) && isset($_GET['key'])) {
|
||||
mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Sharing', log_action = 'View', log_description = 'Downloaded shared file $file_name via link', log_client_id = '$client_id', log_created_at = NOW(), log_ip = '$ip', log_user_agent = '$user_agent', company_id = '1'");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user