RTC PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar janschoenherr
janschoenherr
13 Feb 2025

Use the __DIR__ constant. It's shorter and doesn't require a function call.

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

avatar janschoenherr janschoenherr - open - 13 Feb 2025
avatar janschoenherr janschoenherr - change - 13 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Feb 2025
Category Administration com_joomlaupdate Installation
avatar janschoenherr janschoenherr - change - 13 Feb 2025
The description was changed
avatar janschoenherr janschoenherr - edited - 13 Feb 2025
avatar janschoenherr janschoenherr - change - 13 Feb 2025
The description was changed
avatar janschoenherr janschoenherr - edited - 13 Feb 2025
avatar dgrammatiko
dgrammatiko - comment - 13 Feb 2025

All these files are the Joomla entry points for the app. I'm not sure if this change will work with the public folder...

avatar janschoenherr
janschoenherr - comment - 13 Feb 2025

I don't think there is a difference. WordPress uses __DIR__ in the index.php.

avatar dgrammatiko
dgrammatiko - comment - 13 Feb 2025

WordPress uses DIR in the index.php

Well, WP doesn't have an option for public folder #40509 but anyways that wasn't really the reason as @joomdonation mentioned it's about compatibility for ancient PHP versions in the app entry points

avatar janschoenherr janschoenherr - change - 13 Feb 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-02-13 11:50:49
Closed_By janschoenherr
Labels Added: PR-5.3-dev
avatar janschoenherr janschoenherr - close - 13 Feb 2025
avatar janschoenherr janschoenherr - change - 13 Feb 2025
Status Closed New
Closed_Date 2025-02-13 11:50:49
Closed_By janschoenherr
avatar janschoenherr janschoenherr - change - 13 Feb 2025
Status New Pending
avatar janschoenherr janschoenherr - reopen - 13 Feb 2025
avatar janschoenherr
janschoenherr - comment - 13 Feb 2025

I've reverted the changes in the PHP error messages.

avatar joomdonation joomdonation - test_item - 16 Feb 2025 - Tested successfully
avatar joomdonation
joomdonation - comment - 16 Feb 2025

I have tested this item ✅ successfully on 3300441


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

avatar komalm komalm - test_item - 22 Feb 2025 - Tested successfully
avatar komalm
komalm - comment - 22 Feb 2025

I have tested this item ✅ successfully on 3300441


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

avatar QuyTon QuyTon - change - 23 Feb 2025
Status Pending Ready to Commit
avatar QuyTon
QuyTon - comment - 23 Feb 2025

RTC


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

avatar rdeutz rdeutz - change - 27 Feb 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-02-27 13:16:12
Closed_By rdeutz
Labels Added: RTC
avatar rdeutz rdeutz - close - 27 Feb 2025
avatar rdeutz rdeutz - merge - 27 Feb 2025

Add a Comment

Login with GitHub to post a comment