Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 253976
Collapse All | Expand All

(-)eclipse.org-common/system/app.class.php (-1 / +6 lines)
Lines 91-102 Link Here
91
		# Make it easy to override database and other settings (don't check app-config.php in to CVS!)
91
		# Make it easy to override database and other settings (don't check app-config.php in to CVS!)
92
		if($this->devmode) {
92
		if($this->devmode) {
93
			if(file_exists(getcwd() . '/app-config.php')) {
93
			if(file_exists(getcwd() . '/app-config.php')) {
94
				include(getcwd() . '/app-config.php');
94
				include_once(getcwd() . '/app-config.php');
95
				# We call a function inside app-config.php and pass it a reference to ourselves because
95
				# We call a function inside app-config.php and pass it a reference to ourselves because
96
				# this class is still in the constructor and might not be available externally by name.
96
				# this class is still in the constructor and might not be available externally by name.
97
				# File just contains a function called app_config() which is called.  Nothing more is needed.
97
				# File just contains a function called app_config() which is called.  Nothing more is needed.
98
				app_config($this);
98
				app_config($this);
99
			}
99
			}
100
			else if(file_exists($_SERVER['DOCUMENT_ROOT'] . '/eclipse.org-common/system/app-config.php'))
101
			{
102
				include_once($_SERVER['DOCUMENT_ROOT'] . '/eclipse.org-common/system/app-config.php');
103
				app_config($this);
104
			}				
100
		}
105
		}
101
106
102
		# Initialize backtrace storage
107
		# Initialize backtrace storage

Return to bug 253976