@@ -27,7 +27,7 @@ |
||
| 27 | 27 | <nobr> |
| 28 | 28 | <a href="#" target="_self">INSTAGALLERY</a> |
| 29 | 29 | <a href="https://github.com/cowglow/ig-gallery" |
| 30 | - target="_blank"><?php include dirname(__DIR__).DIRECTORY_SEPARATOR.'partials'.DIRECTORY_SEPARATOR.'github-svg.php'; ?></a> |
|
| 30 | + target="_blank"><?php include dirname(__DIR__) . DIRECTORY_SEPARATOR . 'partials' . DIRECTORY_SEPARATOR . 'github-svg.php'; ?></a> |
|
| 31 | 31 | </nobr> |
| 32 | 32 | </h1> |
| 33 | 33 | </div> |
@@ -1,15 +1,15 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | // Require once the Composer Autoload |
| 3 | -if (file_exists(\dirname(__FILE__).'/vendor/autoload.php')) { |
|
| 4 | - require_once \dirname(__FILE__).'/vendor/autoload.php'; |
|
| 3 | +if (file_exists(\dirname(__FILE__) . '/vendor/autoload.php')) { |
|
| 4 | + require_once \dirname(__FILE__) . '/vendor/autoload.php'; |
|
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | $GLOBALS['isDev'] = ($_SERVER['SERVER_NAME'] === 'localhost'); |
| 8 | 8 | $GLOBALS['config'] = require 'config.php'; |
| 9 | 9 | |
| 10 | -$partials = __DIR__.DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'partials'; |
|
| 10 | +$partials = __DIR__ . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'partials'; |
|
| 11 | 11 | |
| 12 | -include $partials.DIRECTORY_SEPARATOR.'header.php'; |
|
| 12 | +include $partials . DIRECTORY_SEPARATOR . 'header.php'; |
|
| 13 | 13 | |
| 14 | 14 | $App = new Cowglow\InstagramGallery\Ports\App($GLOBALS['config']['bind'], $GLOBALS['config']['type']); |
| 15 | 15 | |
@@ -17,4 +17,4 @@ discard block |
||
| 17 | 17 | print_r($App->loadGrams()); |
| 18 | 18 | echo '</pre>'; |
| 19 | 19 | |
| 20 | -include $partials.DIRECTORY_SEPARATOR.'footer.php'; |
|
| 20 | +include $partials . DIRECTORY_SEPARATOR . 'footer.php'; |
|