| 
									
										
										
										
											2010-07-01 23:48:07 +00:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2024-08-23 13:11:15 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Copyright (C) 2010-2024, the Friendica project
 | 
					
						
							|  |  |  | // SPDX-FileCopyrightText: 2010-2024 the Friendica project
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // SPDX-License-Identifier: AGPL-3.0-or-later
 | 
					
						
							| 
									
										
										
										
											2010-07-01 23:48:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-09 22:10:27 +00:00
										 |  |  | $start_time = microtime(true); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-18 19:10:05 +00:00
										 |  |  | if (!file_exists(__DIR__ . '/vendor/autoload.php')) { | 
					
						
							| 
									
										
										
										
											2025-02-06 07:43:52 +00:00
										 |  |  | 	die('Vendor path not found. Please execute "bin/composer.phar run install:prod" on the command line in the web root.'); | 
					
						
							| 
									
										
										
										
											2019-01-18 19:10:05 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-27 17:17:02 +00:00
										 |  |  | require __DIR__ . '/vendor/autoload.php'; | 
					
						
							| 
									
										
										
										
											2010-07-01 23:48:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-19 20:07:37 +00:00
										 |  |  | $request = \GuzzleHttp\Psr7\ServerRequest::fromGlobals(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-08 22:59:29 +00:00
										 |  |  | $container = \Friendica\Core\DiceContainer::fromBasePath(__DIR__); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $app = \Friendica\App::fromContainer($container); | 
					
						
							| 
									
										
										
										
											2019-02-19 00:56:41 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-23 15:26:35 +00:00
										 |  |  | $app->processRequest($request, $start_time); |