Skip to content

Commit daf56b9

Browse files
authored
Merge pull request #7 from WyriHaximus/add-composer-autoloader-location-constant-including
Correct constant loading
2 parents fc11e6e + f95a85e commit daf56b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ComposerAutoloader/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
namespace WyriHaximus\Constants\ComposerAutoloader;
44

5-
define('LOCATION', realpath(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'));
5+
define('WyriHaximus\Constants\ComposerAutoloader\LOCATION', realpath(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'));
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
namespace WyriHaximus\Constants\Boolean;
3+
namespace WyriHaximus\Constants\ComposerAutoloader;
44

5-
if (!\defined('WyriHaximus\Constants\Boolean\TRUE_')) {
5+
if (!\defined('WyriHaximus\Constants\ComposerAutoloader\LOCATION')) {
66
require __DIR__ . '/constants.php';
77
}

0 commit comments

Comments
 (0)