26 lines
		
	
	
		
			854 B
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			854 B
		
	
	
	
		
			PHP
		
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * @file
 | 
						|
 * The PHP page that serves all page requests on a Drupal installation.
 | 
						|
 *
 | 
						|
 * All Drupal code is released under the GNU General Public License.
 | 
						|
 * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
 | 
						|
 */
 | 
						|
 | 
						|
require_once __DIR__ . '/core/vendor/autoload.php';
 | 
						|
require_once __DIR__ . '/core/includes/bootstrap.inc';
 | 
						|
 | 
						|
try {
 | 
						|
  drupal_handle_request();
 | 
						|
}
 | 
						|
catch (Exception $e) {
 | 
						|
  $message = 'If you have just changed code (for example deployed a new module or moved an existing one) read <a href="http://drupal.org/documentation/rebuild">http://drupal.org/documentation/rebuild</a>';
 | 
						|
  if (\Drupal\Component\Utility\Settings::get('rebuild_access', FALSE)) {
 | 
						|
    $rebuild_path = $GLOBALS['base_url'] . '/rebuild.php';
 | 
						|
    $message .= " or run the <a href=\"$rebuild_path\">rebuild script</a>";
 | 
						|
  }
 | 
						|
  print $message;
 | 
						|
  throw $e;
 | 
						|
}
 |