Move some cPanel code to /usr/local/cpanel/base/3rdparty/snappymail/include.php #697

This commit is contained in:
the-djmaze 2022-11-25 11:00:20 +01:00
parent ce7bcbcaf5
commit 21c0c1ed5d
5 changed files with 41 additions and 11 deletions

View file

@ -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);