I am trying to change the default server from 'localhost' to 'mysql' so I tried this
<?phpfunctionadminer_object() {// required to run any plugininclude_once"./plugins/plugin.php";// autoloaderforeach(glob("plugins/*.php")as$filename){include_once"./$filename";}$plugins=array(// specify enabled plugins herenewAdminerDumpXml,/* new AdminerFileUpload("data/"), */);classAdminerCustomizationextendsAdminerPlugin{functioncredentials() {returnarray('mysql','','');}}returnnewAdminerCustomization($plugins);}// include original Adminer or Adminer Editorinclude"./adminer.php";?>
But when I load it the server still comes up as 'localhost'. What am I doing wrong?
Also, how would I totally disable the ability of users to use permanent login.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to change the default server from 'localhost' to 'mysql' so I tried this
But when I load it the server still comes up as 'localhost'. What am I doing wrong?
Also, how would I totally disable the ability of users to use permanent login.
Thanks
You can override loginForm() to achieve both goals.
Jakub
On 10/06/2014 10:43 AM, Paul Raines wrote: