File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ if (!function_exists("json_decode")) {
2020}
2121
2222// set-up the project base directory
23- $baseDir = __DIR__."/../" ;
23+ $baseDir = __DIR__.DIRECTORY_SEPARATOR."..".DIRECTORY_SEPARATOR ;
2424
2525// auto-load classes
26- if (file_exists($baseDir."vendor/ autoload.php")) {
27- require($baseDir."vendor/ autoload.php");
26+ if (file_exists($baseDir."vendor".DIRECTORY_SEPARATOR." autoload.php")) {
27+ require($baseDir."vendor".DIRECTORY_SEPARATOR." autoload.php");
2828} else {
2929 print "it doesn't appear that pattern lab has been set-up yet...\n";
30- print "please install pattern lab's dependencies by typing: php core/bin/ composer.phar install...\n";
30+ print "please install pattern lab's dependencies by typing: composer install...\n";
3131 exit;
3232}
3333
You can’t perform that action at this time.
0 commit comments