  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: application_top.php 1863 2009-03-06 23:53:49Z hpdl $ |
| |
| 3 | + | $Id: application_top.php 1865 2009-03-08 22:00:36Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
7 | 7 | | |
  |
8 | | - | Copyright (c) 2007 osCommerce |
| |
| 8 | + | Copyright (c) 2009 osCommerce |
|
9 | 9 | | |
| |
10 | 10 | | This program is free software; you can redistribute it and/or modify |
| |
11 | 11 | | it under the terms of the GNU General Public License v2 (1991) |
| |
|
|
 |
… |
|
29 | 29 | | // set the level of error reporting |
| |
30 | 30 | | error_reporting(E_ALL); |
| |
31 | 31 | | |
  |
| 32 | + | ini_set('log_errors', true); |
| |
| 33 | + | ini_set('error_log', DIR_FS_WORK . 'oscommerce_errors.log'); |
| |
| 34 | + | |
  |
32 | 35 | | // redirect to the installation module if DB_SERVER is empty |
| |
33 | 36 | | if (strlen(DB_SERVER) < 1) { |
| |
34 | 37 | | if (is_dir('install')) { |