mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Packer: Suggest download with appropriate filename.
This commit is contained in:
parent
e0278bb5fd
commit
7e77412099
1 changed files with 1 additions and 0 deletions
1
pack.php
1
pack.php
|
@ -30,6 +30,7 @@ if(isset($_GET["modules"]))
|
|||
if(php_sapi_name() != "cli")
|
||||
{
|
||||
header("content-type: text/php");
|
||||
header("content-disposition: attachment; filename=\"index.php\"");
|
||||
}
|
||||
|
||||
if(php_sapi_name() == "cli") echo("Reading in core files...");
|
||||
|
|
Loading…
Reference in a new issue