We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 2 years ago

#2931 closed Enhancement (wontfix)

Add elgg_get_plugin_dir($plugin_id) function

Reported by: ewinslow Owned by:
Priority: normal Milestone: Needs Review
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brett@… Difficulty: trivial

Description

Returns the directory of a plugin, usually "{$CONFIG->path}mod/$plugin_id/".

Change History (2)

comment:1 Changed 2 years ago by cash

$dir = elgg_get_plugins_path() . $plugin_id;

Worth adding a function for this?

comment:2 Changed 2 years ago by ewinslow

  • Difficulty set to trivial
  • Resolution set to wontfix
  • Status changed from new to closed

no, not really.

Note: See TracTickets for help on using tickets.