Add favicon + robots + sitemap to mirrored files - Refs #1331

This commit is contained in:
Samuel Georges 2015-08-26 17:41:25 +10:00
parent 30593b0031
commit 0cf3a95c10
1 changed files with 11 additions and 1 deletions

View File

@ -5,6 +5,13 @@ use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
/**
* This command will create symbolic links to files and directories
* that are commonly required to be publicly available.
*
* It is experimental and currently undergoing testing,
* see: https://github.com/octobercms/october/issues/1331
*/
class OctoberMirror extends Command
{
@ -19,7 +26,10 @@ class OctoberMirror extends Command
protected $description = '(Experimental) Generates a mirrored public folder using symbolic links.';
protected $files = [
'index.php'
'index.php',
'favicon.ico',
'robots.txt',
'sitemap.xml',
];
protected $directories = [