Skip to content

[4.3] Replace JPATH_PLATFORM with _JEXEC in dispatcher.php#39997

Merged
obuisard merged 7 commits intojoomla:4.3-devfrom
sandewt:patch-2
Mar 8, 2023
Merged

[4.3] Replace JPATH_PLATFORM with _JEXEC in dispatcher.php#39997
obuisard merged 7 commits intojoomla:4.3-devfrom
sandewt:patch-2

Conversation

@sandewt
Copy link
Copy Markdown
Contributor

@sandewt sandewt commented Mar 4, 2023

Pull Request for Issue # .

Summary of Changes

The constant JPATH_PLATFORM is a history thing and should not be used for new code in Dispatcher.php
This pr replaces this with _JEXEC in some files

Testing Instructions

Code review

Actual result BEFORE applying this Pull Request

Code: \defined('JPATH_PLATFORM') or die;

Expected result AFTER applying this Pull Request

Code: \defined('_JEXEC') or die;

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomdonation

@sandewt sandewt changed the base branch from 4.2-dev to 4.3-dev March 4, 2023 09:11
@sandewt sandewt changed the title Patch 2 [4.3] Replace JPATH_PLATFORM' with _JEXEC in dispatcher.php Mar 4, 2023
@sandewt sandewt changed the title [4.3] Replace JPATH_PLATFORM' with _JEXEC in dispatcher.php [4.3] Replace JPATH_PLATFORM with _JEXEC in dispatcher.php Mar 4, 2023
@joomdonation
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on fe6ebbe

Looks good to me. Hope no one disagrees with this change.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39997.

@sandewt
Copy link
Copy Markdown
Contributor Author

sandewt commented Mar 4, 2023

Looks good to me. Hope no one disagrees with this change.

We will see and wait.

@chmst
Copy link
Copy Markdown
Contributor

chmst commented Mar 5, 2023

I have tested this item ✅ successfully on fe6ebbe

Code Review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39997.

@joomdonation
Copy link
Copy Markdown
Contributor

RTC.Thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39997.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 5, 2023
@joomdonation joomdonation added this to the Joomla! 4.3.0 milestone Mar 5, 2023
@obuisard obuisard merged commit 4a8a519 into joomla:4.3-dev Mar 8, 2023
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Mar 8, 2023
@obuisard
Copy link
Copy Markdown
Contributor

obuisard commented Mar 8, 2023

Thank you @sandewt for the PR!

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.

8 participants