Project

General

Profile

Actions

Feature #7208

closed

Consolidate standard variables in include file

Added by Demian Biscocho about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
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.

Actions

Also available in: Atom PDF

Go to top