mirror of
https://github.com/mrclay/minify.git
synced 2025-08-21 21:26:13 +02:00
Merge commit '5b6b891cc379be1b9c014a5bb070e5e2e792d64c' into 3.0
This commit is contained in:
17
bootstrap.php
Normal file
17
bootstrap.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Sets up autoloader for Minify
|
||||
*
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
call_user_func(function () {
|
||||
$file = __DIR__ . '/vendor/autoload.php';
|
||||
if (!is_file($file)) {
|
||||
echo 'You must set up the project dependencies, run the following commands:'.PHP_EOL.
|
||||
'curl -sS https://getcomposer.org/installer | php'.PHP_EOL.
|
||||
'php composer.phar install'.PHP_EOL;
|
||||
exit(1);
|
||||
}
|
||||
require $file;
|
||||
});
|
Reference in New Issue
Block a user