diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,7 @@ static int plugin_list_append_item_callback(const char *name, const char *url, v static int get_plugin_filepath(const char *program_dir, const char *plugin_name, char *plugin_filepath) { const char *path_components[] = { program_dir, "plugins" }; path_join(plugin_filepath, path_components, 2); + /* if(file_exists(plugin_filepath) != 0) { strcpy(plugin_filepath, "/usr/share/automedia/plugins"); if(file_exists(plugin_filepath) != 0) { @@ -187,6 +188,7 @@ static int get_plugin_filepath(const char *program_dir, const char *plugin_name, return -1; } } + */ strcat(plugin_filepath, "/"); strcat(plugin_filepath, plugin_name); |