code: private void doGetExtensionInfo() throws PageException {
  	Resource ed = config.getExtensionDirectory();
  	Struct sct = new StructImpl();
  	sct.set(KeyConstants._directory, ed.getPath());
  	sct.set(KeyConstants._enabled, Caster.toBoolean(config.isExtensionEnabled()));
  
  	pageContext.setVariable(getString("admin", action, "returnVariable"), sct);
      }
docs: /*
  private void doGetExtensionProviders() throws PageException { ExtensionProvider[] providers =
  config.getExtensionProviders(); lucee.runtime.type.Query qry = new QueryImpl(new String[] {
  "url", "isReadOnly" }, providers.length, "query");
  
  ExtensionProvider provider; for (int i = 0; i < providers.length; i++) { provider = providers[i];
  int row = i + 1; // qry.setAt("name",row,provider.getName()); qry.setAt(KeyConstants._url, row,
  provider.getUrlAsString()); qry.setAt("isReadOnly", row,
  Caster.toBoolean(provider.isReadOnly())); //
  qry.setAt("cacheTimeout",row,Caster.toDouble(provider.getCacheTimeout()/1000)); }
  pageContext.setVariable(getString("admin", action, "returnVariable"), qry); }