Jump to content
4.4.3

Toggle Developers Mode On/Off 3

   (0 reviews)
Sign in to follow this  

1 Screenshot

About This File

1) Does there exist in the world a better gif to use as a primary screenshot? No.

2) If you install this on a live site to toggle dev mode on and off you ain't real smarts. If I've done my url check right, this cannot be used on live sites. 

3) CIC user? Why are you here? You can't run developers mode on CIC. Also, I check for CIC installation and then stop you from doing something stupid like using this.

4) You must already have a constants.php file; this won't make one for you. 

6) This constants file should have the define( 'IN_DEV', TRUE ); line already in there. True or false; either one. 

7) If you don't have a constants.php file and try to turn dev mode on/off the plugin will insult you, or just tell you it can't be found. 

8) Another good thing to have is a dev folder. I check for that. Just the folder. If you want to enable developers mode with an empty dev folder that's up to you.

9) This grabs the constants.php content, case insensitive regex for the in_dev true or false, switches yonder true/false, then redirects. You can choose between the Application page or the Plugin page for the redirect in settings.

10) I'm targeting single quotes for 'IN_DEV', so don't use "IN_DEV" in your constants.php. Yes I could deal with that. I could...

11) The toggle you seek is on your ACP usermenu.

devmodetoggle1.PNG.edf46e0bf6cce53be0e5ee3605d66ee3.PNG

12) Can't stand the flask icon? Change them up in settings.

13) dmt_on and dmt_off are the language bits you want if the existing words are not to your tastes.

14) 4.3 and later users of this can now format the warning square and screen edge line that we got with the 4.3 series. Don't want construction yellow and candy stripe edge line? I got ya.

4.2.x should use 1.1, 4.3.x can use 1.1 or later versions.


What's New in Version 3   See changelog

Released

  • Проверка безопасности для крайнего случая, когда, может быть, по каким-то причинам (или выборам, не обязательно нормальным) ACP подходит до того, как данные лицензии будут перестроены в очищенном хранилище данных. Не спрашивай ...
  • Включение и выключение теперь переключается с ожиданием 3 из-за улучшения скорости с PHP 7 и IPS 4.4 и вашей, возможно, глупо-быстрой машиной разработки.



User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...