From 36c125415d87d764cf8929a9dddb7595c1960cb3 Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Wed, 4 Nov 2020 22:28:49 +0200 Subject: [PATCH] formatting --- ibis | 6 +++++- stubs/ibis.php | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ibis b/ibis index 1841eb5..41f2c67 100755 --- a/ibis +++ b/ibis @@ -7,7 +7,11 @@ use Ibis\Commands\SampleCommand; use Ibis\Commands\SortContentCommand; use Symfony\Component\Console\Application; -require file_exists(__DIR__.'/vendor/autoload.php') ? __DIR__.'/vendor/autoload.php' : __DIR__.'/../../autoload.php'; +if (file_exists(__DIR__.'/../../autoload.php')) { + require __DIR__.'/../../autoload.php'; +} else { + require __DIR__.'/vendor/autoload.php'; +} /** * Start the console application. diff --git a/stubs/ibis.php b/stubs/ibis.php index 461d8c0..7f23de9 100644 --- a/stubs/ibis.php +++ b/stubs/ibis.php @@ -15,7 +15,10 @@ return [ /** * The list of fonts to be used in the different themes. */ - 'fonts' => [], + 'fonts' => [ +// 'calibri' => 'Calibri-Regular.ttf', +// 'times' => 'times-regular.ttf', + ], /** * Page ranges to be used with the sample command.