Changeset 37 for trunk/lib/App.inc.php
- Timestamp:
- Dec 14, 2005 7:07:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r36 r37 10 10 */ 11 11 12 // Message Types13 define('MSG_ SUCCESS', 0);14 define('MSG_ NOTICE', 1);12 // Message Types. 13 define('MSG_ERR', 1); 14 define('MSG_ERROR', MSG_ERR); 15 15 define('MSG_WARNING', 2); 16 define('MSG_ ERR', 3); // PHP user error style.17 define('MSG_ ERROR', 3);16 define('MSG_NOTICE', 4); 17 define('MSG_SUCCESS', 8); 18 18 19 19 require_once dirname(__FILE__) . '/Utilities.inc.php'; … … 373 373 } 374 374 375 $_SESSION[$this->app]['messages'][] = array( 375 // Save message in session under unique key to avoid duplicate messages. 376 $_SESSION[$this->app]['messages'][md5($type . $message . $file . $line)] = array( 376 377 'type' => $type, 377 378 'message' => $message,
Note: See TracChangeset
for help on using the changeset viewer.