Extension, Plugin

Archived
Forum
(read-only)

Minimee

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From John D. Wells

     

Disable Minimee?

Bug Report

MikeCJ
MikeCJ

If Minimee is configured in the config.php file, should it be disabled in the EE CPanel?

Thanks,
MikeCJ

John D Wells
# 1
Developer
John D Wells

Hi Mike,

Even if you’ve configured via config.php, it will still allow you to install the Extension. But when you go to the Extension’s settings page, it should give you a notice at the top of the page that config settings may be coming from somewhere else.  I decided this was better than locking you out altogether.

Note that if you have configured Minimee via config.php, when Minimee runs on the front end it checks there first, so it won’t ever bother to check the DB for extension settings.  So you still save a db call.

Make sense?

Cheers,
John

MikeCJ
# 2
MikeCJ

Would I save a little overhead if I disable in the EE Cpanel?

Thanks,
MikeCJ

John D Wells
# 3
Developer
John D Wells

You’d save a hair, yes.

During development I often will run Minimee via the extension out of convenience, but then run off of config.php for production sites.  If you have a bootstrap method like FocusLab’s, just unset the Minimee setting for local/dev, and then you can configure via Extension.

Cheers!
John

MikeCJ
# 4
MikeCJ

Thanks John.

MikeCJ