|
@@ -1,16 +1,16 @@ |
|
|
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
|
|
|
9
|
|
-$rootDirectory = __DIR__.DIRECTORY_SEPARATOR; |
|
|
9
|
+$rootDirectory = __DIR__ . DIRECTORY_SEPARATOR; |
|
10
|
10
|
|
|
11
|
|
-include_once $rootDirectory.'assets'.DIRECTORY_SEPARATOR.'partials'.DIRECTORY_SEPARATOR.'header.php'; |
|
|
11
|
+include_once $rootDirectory . 'assets' . DIRECTORY_SEPARATOR . 'partials' . DIRECTORY_SEPARATOR . 'header.php'; |
|
12
|
12
|
|
|
13
|
13
|
//$App = new Cowglow\InstagramGallery\Ports\App(); |
|
14
|
14
|
//$App->loadGrams(); |
|
15
|
15
|
|
|
16
|
|
-include_once $rootDirectory.'assets'.DIRECTORY_SEPARATOR.'partials'.DIRECTORY_SEPARATOR.'footer.php'; |
|
|
16
|
+include_once $rootDirectory . 'assets' . DIRECTORY_SEPARATOR . 'partials' . DIRECTORY_SEPARATOR . 'footer.php'; |
Please login to merge, or discard this patch.