Changeset 50 for trunk/includes
- Timestamp:
- Jan 30, 2009, 11:31:01 PM (16 years ago)
- Location:
- trunk/includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/config.sample.php
r49 r50 17 17 'BaseURL' => 'http://localhost/', 18 18 'AdminEmail' => 'admin@localhost', 19 'ShowSQLError' => false, 19 20 ), 20 21 ); -
trunk/includes/databaseconection.php
r49 r50 21 21 function SQLCommand($Command) 22 22 { 23 global $Config; 24 23 25 $ReturnCommand = mysql_query($Command, $this->id_connection); 24 if( mysql_error() != '') echo('<div>'.mysql_error().'<br>'.$Command.'</div>');26 if((mysql_error() != '') and ($Config['Web']['ShowSQLErrors'])) echo('<div>'.mysql_error().'<br>'.$Command.'</div>'); 25 27 return($ReturnCommand); 26 28 } -
trunk/includes/global.php
r49 r50 138 138 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 139 139 <head> 140 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 140 141 <link rel="stylesheet" href="'.$Config['Web']['BaseURL'].'style.css" type="text/css" media="all" /> 141 142 <script type="text/javascript" src="'.$Config['Web']['BaseURL'].'global.js"></script>
Note:
See TracChangeset
for help on using the changeset viewer.