Changeset 364 for trunk/admin.php


Ignore:
Timestamp:
Feb 19, 2004, 1:31:09 AM (20 years ago)
Author:
gweltas
Message:

Split of langage files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r362 r364  
    2727
    2828//----------------------------------------------------------- include
    29 $phpwg_root_path = './';
    30 include_once( $phpwg_root_path.'include/common.inc.php' );
     29define('PHPWG_ROOT_PATH','./');
     30include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
    3131include_once( './admin/include/isadmin.inc.php' );
    3232//----------------------------------------------------- template initialization
     
    5555   if ( !is_numeric( $_GET['user_id'] ) ) $_GET['user_id'] = -1;
    5656   $query = 'SELECT status,username';
    57    $query.= ' FROM '.PREFIX_TABLE.'users';
     57   $query.= ' FROM '.USERS_TABLE;
    5858   $query.= ' WHERE id = '.$_GET['user_id'];
    5959   $query.= ';';
Note: See TracChangeset for help on using the changeset viewer.