Remove support for Mozilla Prism
This is dead project not supported upstream for years. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
2a9fb73f92
commit
4866f8a9e6
@ -38,6 +38,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #11874 Report when version check and error reporting are disabled
|
||||
- issue #11849 Fix PDF schema export
|
||||
- issue #11412 Remove ForceSSL configuration directive
|
||||
- issue Remove support for Mozilla Prism
|
||||
|
||||
4.5.5.0 (not yet released)
|
||||
- issue Undefined index: is_ajax_request
|
||||
|
||||
51
webapp.php
51
webapp.php
@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* generate an WebApp file for Prism / WebRunner
|
||||
*
|
||||
* @package PhpMyAdmin
|
||||
* @see http://wiki.mozilla.org/Prism
|
||||
*/
|
||||
use PMA\libraries\ZipFile;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
define('PMA_MINIMUM_COMMON', true);
|
||||
/**
|
||||
* Gets core libraries and defines some variables
|
||||
*/
|
||||
require './libraries/common.inc.php';
|
||||
|
||||
// ini file
|
||||
$parameters = array(
|
||||
'id' => 'phpMyAdmin@' . $_SERVER['HTTP_HOST'],
|
||||
'uri' => $GLOBALS['PMA_Config']->get('PmaAbsoluteUri'),
|
||||
'status' => 'yes',
|
||||
'location' => 'no',
|
||||
'sidebar' => 'no',
|
||||
'navigation' => 'no',
|
||||
'icon' => 'phpMyAdmin',
|
||||
);
|
||||
|
||||
// dom script file
|
||||
// none need yet
|
||||
|
||||
// icon
|
||||
$icon = 'favicon.ico';
|
||||
|
||||
// name
|
||||
$name = 'phpMyAdmin.webapp';
|
||||
|
||||
$ini_file = "[Parameters]\n";
|
||||
foreach ($parameters as $key => $value) {
|
||||
$ini_file .= $key . '=' . $value . "\n";
|
||||
}
|
||||
|
||||
PMA_downloadHeader($name, 'application/webapp', 0, false);
|
||||
|
||||
$zip = new ZipFile;
|
||||
$zip->setDoWrite();
|
||||
$zip->addFile($ini_file, 'webapp.ini');
|
||||
$zip->addFile(file_get_contents($icon), 'phpMyAdmin.ico');
|
||||
$zip->file();
|
||||
Loading…
Reference in New Issue
Block a user