Changeset 9984 for trunk/flash/modules/global/inc/customFunctions.inc.php
- Timestamp:
- 04/06/09 22:50:09 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/flash/modules/global/inc/customFunctions.inc.php
r9972 r9984 35 35 { 36 36 /** 37 * You might change this query. This query searches for a record in admins' db with specified login and password.37 * You might change this query. This query searches for a record in sys_admins' db with specified login and password. 38 38 * If your admin table has different structure/format, your should change the query. 39 39 */ … … 44 44 45 45 //--- Dolphin version. 46 $sName = getValue("SELECT `Name` FROM ` Admins` WHERE `Name`='" . $sLogin . "' AND `Password`='" . $sPassword . "' LIMIT 1");46 $sName = getValue("SELECT `Name` FROM `sys_admins` WHERE `Name`='" . $sLogin . "' AND `Password`='" . $sPassword . "' LIMIT 1"); 47 47 $bResult = !empty($sName) ? TRUE_VAL : FALSE_VAL; 48 48 //end of changes
Note: See TracChangeset
for help on using the changeset viewer.