Lines 1476-1483
int main(int argc, char *argv[])
Link Here
|
1476 |
// if it's not set in the config file, use the /plugins/ sub-folder of the installation directory |
1476 |
// if it's not set in the config file, use the /plugins/ sub-folder of the installation directory |
1477 |
if (strlen(dirpath) < 2) |
1477 |
if (strlen(dirpath) < 2) |
1478 |
{ |
1478 |
{ |
1479 |
strncpy(dirpath, l_InstallDir, PATH_MAX); |
1479 |
strncpy(dirpath, "%PUT_PLUGIN_PATH_HERE%", PATH_MAX); |
1480 |
strncat(dirpath, "plugins/", PATH_MAX - strlen(dirpath)); |
|
|
1481 |
dirpath[PATH_MAX-1] = '\0'; |
1480 |
dirpath[PATH_MAX-1] = '\0'; |
1482 |
} |
1481 |
} |
1483 |
// scan the plugin directory and set the config dir for the plugins |
1482 |
// scan the plugin directory and set the config dir for the plugins |