* Moved logic from entrypoint to a dedicated class. * Disabled automatic flush of state. * Added locking support to prevent multiple instances. * Added logging * Added base interface for CredentialsLoader
		
			
				
	
	
		
			14 lines
		
	
	
		
			274 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			274 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env php
 | 
						|
<?php
 | 
						|
 | 
						|
require_once __DIR__."/../vendor/autoload.php";
 | 
						|
 | 
						|
if (file_exists(__DIR__."/../src/version.php")) {
 | 
						|
    require_once __DIR__."/../src/version.php";
 | 
						|
} else {
 | 
						|
    define("APP_VERSION", "DEV");
 | 
						|
}
 | 
						|
 | 
						|
$r = new NoccyLabs\FreshDocker\Refresher();
 | 
						|
$r->run();
 |