? Success

User tests: Successful: Unsuccessful:

avatar remotehelp
remotehelp
6 Nov 2015

You're wrong. Where sense define custom JPATH_BASE in custom defines.php? Then, if move plugins/modules/etc dir, site will be broken and joomla update process not will be worked correctly. Also .css and .js from many plugins and modules, whatever, load from root "/" url.

Custom JPATH_BASE in custom defines.php - ok... If you copy /includes/defines.php to /defines.php and not defined _JDEFINES requires in index.php, then defines.php will be included twice an get error. Why define redundant _JDEFINES constant and make error, when you can just use "if(){}else{}" construction? when defines.php must be once included in any case!

You're wrong.
#8281

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

Also read this:
Constants — Joomla! Documentation
https://docs.joomla.org/Constants

"... These constants are defined in path/includes/defines.php except JPATH_BASE which is defined in path/index.php"

JPATH_BASE must be defined in "path/index.php".

avatar zero-24 zero-24 - change - 7 Nov 2015
Category Libraries
avatar zero-24 zero-24 - change - 7 Nov 2015
Title
 JPATH_BASE and redundant _JDEFINES in index.php
JPATH_BASE and redundant _JDEFINES in index.php
avatar Fedik
Fedik - comment - 10 Nov 2015

respect please have some,
documentation outdated is,
for J2.5 but not for J3.x true it was,

avatar wilsonge wilsonge - change - 17 Dec 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-12-17 00:47:56
Closed_By wilsonge
avatar wilsonge wilsonge - close - 17 Dec 2015
avatar wilsonge wilsonge - close - 17 Dec 2015
avatar wilsonge
wilsonge - comment - 17 Dec 2015

I'm closing this for the same reasons as described in #8281

Add a Comment

Login with GitHub to post a comment