[SCRIPTS] Set PUBLICDIR in plugin scripts as well
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
||||
*/
|
||||
|
||||
define('INSTALLDIR', dirname(dirname(dirname(__DIR__))));
|
||||
define('INSTALLDIR', dirname(__DIR__, 3));
|
||||
define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
|
||||
|
||||
if (!defined('NODEINFO_UPGRADE')) {
|
||||
$longoptions = ['type='];
|
||||
|
Reference in New Issue
Block a user