diff --git a/CodeIgniter_2.0.2/application/config/config.php b/CodeIgniter_2.0.2/application/config/config.php index e4841c4..4417e39 100644 --- a/CodeIgniter_2.0.2/application/config/config.php +++ b/CodeIgniter_2.0.2/application/config/config.php @@ -12,7 +12,7 @@ define('FF_MEMBERSHIP', 48); define('FF_FRUITBAG', 51); -require('global_config.php'); +require_once('global_config.php'); /* diff --git a/CodeIgniter_2.0.2/application/models/memberinfo.php b/CodeIgniter_2.0.2/application/models/memberinfo.php index 6cd6656..2bae9ad 100644 --- a/CodeIgniter_2.0.2/application/models/memberinfo.php +++ b/CodeIgniter_2.0.2/application/models/memberinfo.php @@ -310,7 +310,7 @@ function get_members($division = 0) { $this->db->select('uid, CONCAT(`firstname`, " ", `middlename`, " ", `lastname`) AS `name`,'); $this->db->select('email, tel, UNIX_TIMESTAMP(last_login) AS last_login,'); - $this->db->select('UNIX_TIMESTAMP(`created`) AS `created`', FALSE); + $this->db->select('UNIX_TIMESTAMP(`ff_persons`.`created`) AS `created`', FALSE); $this->db->select('membernote.note'); $this->db->from('persons, division_members'); $this->db->join('membernote', 'membernote.puid = ff_persons.uid', 'left'); diff --git a/index.php b/index.php index 2707f46..fa00c3f 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@