How to make a PHP script that's pluginable?
<p>I'm creating my own script using the CodeIgniter MVC framework. Now, i want users to easily modify the site functionality and adding their own without modifying the code which i've already written.</p>

<p>How do i make my site pluginable ?</p>

<p>EDIT: The users would be the site admins. Not the end user. Basically just like drupal or joomla. Want the admin to be able to create/add plugins to extend site functionality.</p>
