Changeset 8006
- Timestamp:
- 08/07/09 20:11:49 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.6/upgrades/2.6.0beta1/tables.php
r7992 r8006 1 1 <?php 2 if (!function_exists('sql')) { 3 function sql($sql,$type="query",$fetchmode=null) { 4 global $db; 5 $results = $db->$type($sql,$fetchmode); 6 if(DB::IsError($results)) { 7 die($results->getDebugInfo() . "SQL - <br /> $sql" ); 8 } 9 return $results; 10 } 11 } 2 12 3 13 function encrypt_passwords()
