|
@@ -1,15 +1,15 @@ discard block |
|
|
block discarded – undo |
|
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
|
|
|
@@ -23,4 +23,4 @@ discard block |
|
|
block discarded – undo |
|
23
|
23
|
print_r($grams); |
|
24
|
24
|
echo '</pre>'; |
|
25
|
25
|
|
|
26
|
|
-include $partials.DIRECTORY_SEPARATOR.'footer.php'; |
|
|
26
|
+include $partials . DIRECTORY_SEPARATOR . 'footer.php'; |
Please login to merge, or discard this patch.