Project

General

Profile

Feature #7208

closed

Consolidate standard variables in include file

Added by Demian Lizandro Biscocho over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Thom Bernarth Patacsil
Category:
Features
Target version:
Start date:
01/30/2019
Due date:
02/13/2019
% Done:

100%

Estimated time:

Description

Alex,

Ilagay na lang natin yung mga standard variables sa isang include file.

    $log_user     = $session_user;
    $log_group     = go_get_groupid($session_user, $astDB);     
    $log_ip     = $astDB->escape($_REQUEST['log_ip']);
    $goUser        = $astDB->escape($_REQUEST['goUser']);
    $goPass        = (isset($_REQUEST['log_pass']) ? $astDB->escape($_REQUEST['log_pass']) : $astDB->escape($_REQUEST['goPass']));

Para mas malinis and yung mga variables na naka-declare na lang is specific to the goAPIs function.

Also available in: Atom PDF

Go to top