Changeset 171 for pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/user/actions/actions.class.php
- Timestamp:
- Sep 29, 2014 4:43:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/user/actions/actions.class.php
r170 r171 109 109 110 110 public function executeGetinfo() { 111 $text = 'executeGetinfo'; 112 return $this->renderText($text); 113 /* $src = $this->getRequestParameter('src'); 111 112 $src = $this->getRequestParameter('src'); 114 113 $us_id = $this->getRequestParameter('us_id'); 115 114 $uname = $this->getRequestParameter('username'); … … 118 117 $token = $this->getRequestParameter('token'); 119 118 if ($src == null) return sfView::NONE; 120 121 if ($us_id && $token==md5($us_id.self::TOKENPW)) $tbluser = $this->getUserField(TbluserPeer::US_ID, $us_id); 119 120 $text = 'executeGetinfo'; 121 return $this->renderText($text); 122 123 /* if ($us_id && $token==md5($us_id.self::TOKENPW)) $tbluser = $this->getUserField(TbluserPeer::US_ID, $us_id); 122 124 if ($uname && $token==md5($uname.self::TOKENPW)) $tbluser = $this->getUserField(TbluserPeer::US_USERNAME, $uname); 123 125 if ($email && $token==md5($email.self::TOKENPW)) $tbluser = $this->getUserField(TbluserPeer::US_EMAIL, $email);
Note: See TracChangeset
for help on using the changeset viewer.