Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- public function backend_call($act)
- {
- if ($this->pma_installed_using_ajax)
- {
- if($act=="install_pma")
- {
- $this->download_install_pma();
- exit(__('Installation complete.<script>location=location;</script>','wp-phpmyadmin-extension') );
- }
- }
- }
- REMOVED:
- //======================== Download & install ========================
- if($this->pma_installed_using_ajax)
- {
- // download latest pma
- if ($this->pma_installed_using_download) if(!file_exists($this->pma_zipPath)) $this->getPmaZip(); // getPmaZip -----> removed: pastebin(dot)com/raw/r8jLN1P7
- // remove if previous unpack was partial.
- $dir = $this->getPMA_FolderName();
- if( !empty($dir) && is_dir($dir) ) {
- if( !$this->rmdir_recursive($dir) )
- exit(__("Failure: can't remove the old $dir folder, click OK to re-try (If you will see this message again, do it manually from FTP).", 'wp-phpmyadmin-extension'));
- }
- // unzip
- $this->unzip($this->pma_zipPath, $this->lib_absPath);
- usleep(500000);
- }
- //remove file
- if ($this->pma_installed_using_download) unlink($this->pma_zipPath);
- // =================================================
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement