? Failure

User tests: Successful: Unsuccessful:

avatar remotehelp
remotehelp
5 Nov 2015

JPATH_BASE must be define any way. _JDEFINES not need for include defines.php

avatar remotehelp remotehelp - open - 5 Nov 2015
avatar remotehelp remotehelp - change - 5 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2015
Labels Added: ?
avatar Bakual
Bakual - comment - 5 Nov 2015

Please change the title of the PR to reflect what it is. "Update index.php" doesn't say much :smile:

avatar remotehelp remotehelp - change - 5 Nov 2015
Title
Update index.php
JPATH_BASE must be define any way in index.php
avatar wilsonge
wilsonge - comment - 5 Nov 2015

This is actually incorrect. In the override of defines.php you can actually set your own custom JPATH_BASE path which is why the value is only used later if the custom file doesn't exist. I'm therefore going to close this PR.

avatar wilsonge wilsonge - change - 5 Nov 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-11-05 14:10:11
Closed_By wilsonge
avatar wilsonge wilsonge - close - 5 Nov 2015
avatar wilsonge wilsonge - close - 5 Nov 2015
avatar remotehelp
remotehelp - comment - 6 Nov 2015

@wilsonge You're wrong. Where sense define custom JPATH_BASE? Then site will be broken and joomla update process not will be worked correctly. Also .css and .js from many plurins and modules, whatever, load from root "/" url.

And why define redundant _JDEFINES constant, when you can just use "if(){}else{}" construction? when defines.php must be included in any case!

avatar remotehelp remotehelp - reference | f8cb6d3 - 6 Nov 15

Add a Comment

Login with GitHub to post a comment