mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Move some cPanel code to /usr/local/cpanel/base/3rdparty/snappymail/include.php #697
This commit is contained in:
parent
ce7bcbcaf5
commit
21c0c1ed5d
5 changed files with 41 additions and 11 deletions
|
|
@ -21,9 +21,8 @@ foreach ($files as $file) {
|
|||
}
|
||||
|
||||
$cpanel_tar->addFile('.htaccess', "{$cpanel_path}.htaccess");
|
||||
//$cpanel_tar->addFile('_include.php', 'snappymail/app/_include.php');
|
||||
$cpanel_tar->addFile('README.md', "{$cpanel_path}README.md");
|
||||
$cpanel_tar->addFromString('VERSION', $package->version);
|
||||
$cpanel_tar->addFromString("{$cpanel_path}VERSION", $package->version);
|
||||
|
||||
$index = file_get_contents('index.php');
|
||||
$index = str_replace('0.0.0', $package->version, $index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue