? Success

User tests: Successful: Unsuccessful:

avatar Poznakomlus
Poznakomlus
29 May 2016

file includes\defines.php

How many years have to pass and how many versions have to exchange

// Global definitions
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);

// Defines.
define('JPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));

declare one constant JPATH_ROOT, JPATH_SITE, JPATH_CONFIGURATION deprecate
remove implode, explode
remove DIRECTORY_SEPARATOR in defines
it must be done in several versions

defines file

defined('_JEXEC') or die;

define('JPATH_ADMINISTRATOR', JPATH_BASE . '/administrator');
define('JPATH_LIBRARIES', JPATH_BASE . '/libraries');
define('JPATH_PLUGINS', JPATH_BASE . '/plugins');
define('JPATH_INSTALLATION', JPATH_BASE . '/installation');
define('JPATH_THEMES', JPATH_BASE . '/templates');
define('JPATH_CACHE', JPATH_BASE . '/cache');
define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR . '/manifests');

avatar Poznakomlus Poznakomlus - open - 29 May 2016
avatar Poznakomlus Poznakomlus - change - 29 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 May 2016
Labels Added: ?
avatar Poznakomlus Poznakomlus - change - 29 May 2016
The description was changed
avatar Bakual
Bakual - comment - 29 May 2016

@Poznakomlus Please create your PRs against the stagingbranch, not against the 3.6.x branch.

I'm closing this one as it is not mergable in this form.

avatar Bakual Bakual - change - 29 May 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-05-29 13:18:16
Closed_By Bakual
avatar Bakual Bakual - close - 29 May 2016

Add a Comment

Login with GitHub to post a comment