Skip to content

Avoid CAKE_CORE_INCLUDE_PATH multiple definition#365

Merged
lGuillaume124 merged 2 commits intoSonerezh:masterfrom
Nizhile:master
Feb 6, 2019
Merged

Avoid CAKE_CORE_INCLUDE_PATH multiple definition#365
lGuillaume124 merged 2 commits intoSonerezh:masterfrom
Nizhile:master

Conversation

@Nizhile
Copy link
Copy Markdown
Contributor

@Nizhile Nizhile commented Feb 6, 2019

Making diffs with new 1.2.5 release shows that I forget this one to avoid #357 php notice. Sonerezh will work correctly without it, but will trigger some logs stating that CAKE_CORE_INCLUDE_PATH is already defined.

Related to Sonerezh#357 title. As CAKE_CORE_INCLUDE_PATH is set by top level index.php, defining the constant without checking it is already defined triggers PHP notice `PHP Notice:  Constant CAKE_CORE_INCLUDE_PATH already defined.
@lGuillaume124 lGuillaume124 merged commit 52dde88 into Sonerezh:master Feb 6, 2019
Nizhile added a commit to Nizhile/sonerezh that referenced this pull request Feb 7, 2019
Merge pull request Sonerezh#365 from Nizhile/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants