diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-09-17 17:32:41 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-09-17 17:32:41 +0100 |
| commit | 72380d834b91ed0e25b7da6c5c4ab19d1fdf93b9 (patch) | |
| tree | 320e32d0e3590002db1d0f6e23c7951b1fd8e318 /includes | |
| parent | 09a1974902905cd1b49650b5cc969f624501ad6e (diff) | |
| download | webtrees-72380d834b91ed0e25b7da6c5c4ab19d1fdf93b9.tar.gz webtrees-72380d834b91ed0e25b7da6c5c4ab19d1fdf93b9.tar.bz2 webtrees-72380d834b91ed0e25b7da6c5c4ab19d1fdf93b9.zip | |
#237 - function accept_all_changes() not found
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/session.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/includes/session.php b/includes/session.php index 33d907aae5..7d58dc659f 100644 --- a/includes/session.php +++ b/includes/session.php @@ -244,13 +244,14 @@ if (!isset($_SERVER['HTTP_USER_AGENT'])) { $_SERVER['HTTP_USER_AGENT'] = ''; } -// Common functions -require WT_ROOT.'includes/functions/functions.php'; -require WT_ROOT.'includes/functions/functions_db.php'; -require WT_ROOT.'includes/functions/functions_print.php'; -require WT_ROOT.'includes/functions/functions_mediadb.php'; -require WT_ROOT.'includes/functions/functions_date.php'; -require WT_ROOT.'includes/functions/functions_charts.php'; +// Common functions - move these to classes so we can autoload them. +require WT_ROOT . 'includes/functions/functions.php'; +require WT_ROOT . 'includes/functions/functions_db.php'; +require WT_ROOT . 'includes/functions/functions_print.php'; +require WT_ROOT . 'includes/functions/functions_mediadb.php'; +require WT_ROOT . 'includes/functions/functions_date.php'; +require WT_ROOT . 'includes/functions/functions_charts.php'; +require WT_ROOT . 'includes/functions/functions_import.php'; // Set a custom error handler set_error_handler(function ($errno, $errstr) { |
