radarrplexorganizrnginxsonarrdashboardserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximuxlandingpagestartpagelandinghtpc
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							38 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							38 lines
						
					
					
						
							1.1 KiB
						
					
					
				
								#!/usr/bin/env php
							 | 
						|
								<?php
							 | 
						|
								
							 | 
						|
								/*
							 | 
						|
								 * This file is part of Psy Shell.
							 | 
						|
								 *
							 | 
						|
								 * (c) 2012-2017 Justin Hileman
							 | 
						|
								 *
							 | 
						|
								 * For the full copyright and license information, please view the LICENSE
							 | 
						|
								 * file that was distributed with this source code.
							 | 
						|
								 */
							 | 
						|
								
							 | 
						|
								if (!is_file(dirname(__DIR__) . '/vendor/autoload.php')) {
							 | 
						|
								    throw new RuntimeException('Missing PsySH dev dependencies in ' . dirname(__DIR__) . '/vendor/' . ', install with `composer.phar install --dev`.');
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								require dirname(__DIR__) . '/vendor/autoload.php';
							 | 
						|
								
							 | 
						|
								if (!class_exists('Symfony\Component\Finder\Finder')) {
							 | 
						|
								    throw new RuntimeException('Missing PsySH dev dependencies, install with `composer.phar install --dev`.');
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								if (!is_file(dirname(__DIR__) . '/build-vendor/autoload.php')) {
							 | 
						|
								    throw new RuntimeException('Missing phar vendor dependencies, install with bin/build-vendor');
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								use Psy\Compiler;
							 | 
						|
								
							 | 
						|
								error_reporting(-1);
							 | 
						|
								ini_set('display_errors', 1);
							 | 
						|
								
							 | 
						|
								$compiler = new Compiler();
							 | 
						|
								
							 | 
						|
								if (isset($_SERVER['argv']) && isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] === '--compat') {
							 | 
						|
								    $compiler->compile('psysh-compat.phar');
							 | 
						|
								} else {
							 | 
						|
								    $compiler->compile();
							 | 
						|
								}
							 | 
						|
								
							 |