Skip to content

Commit 83ab277

Browse files
authored
not really needed (#41596)
1 parent 107a0e3 commit 83ab277

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

cli/joomla.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343
exit;
4444
}
4545

46-
if (!defined('JPATH_PUBLIC')) {
47-
define('JPATH_PUBLIC', JPATH_ROOT);
48-
}
49-
5046
// Check if installed
5147
if (
5248
!file_exists(JPATH_CONFIGURATION . '/configuration.php')

tests/Unit/bootstrap.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
define('JPATH_ROOT', JPATH_BASE);
3636
}
3737

38-
if (!defined('JPATH_PUBLIC')) {
39-
define('JPATH_PUBLIC', JPATH_ROOT);
40-
}
41-
4238
/**
4339
* @deprecated 4.4.0 will be removed in 6.0
4440
**/

0 commit comments

Comments
 (0)