Comments (4)
Pull requests are always welcome
from froxlor.
If I had an idea where to change this behaviour - I'd happily supply a request.
from froxlor.
Can you verify that the following patch solves the issue?
diff --git a/lib/Froxlor/Cli/ConfigServices.php b/lib/Froxlor/Cli/ConfigServices.php
index ba6389ba..1833e0e2 100644
--- a/lib/Froxlor/Cli/ConfigServices.php
+++ b/lib/Froxlor/Cli/ConfigServices.php
@@ -402,7 +402,7 @@ final class ConfigServices extends CliCommand
case "file":
if (array_key_exists('content', $action)) {
$output->writeln('<comment>Creating file "' . $action['name'] . '"</>');
- file_put_contents($action['name'], trim(strtr($action['content'], $replace_arr)));
+ file_put_contents($action['name'], trim(strtr($action['content'], $replace_arr)) . PHP_EOL);
} elseif (array_key_exists('subcommands', $action)) {
foreach ($action['subcommands'] as $fileaction) {
if (array_key_exists('execute', $fileaction) && $fileaction['execute'] == "pre") {
@@ -411,7 +411,7 @@ final class ConfigServices extends CliCommand
exec(strtr($fileaction['content'], $replace_arr));
} elseif ($fileaction['type'] == 'file') {
$output->writeln('<comment>Creating file "' . $fileaction['name'] . '"</>');
- file_put_contents($fileaction['name'], trim(strtr($fileaction['content'], $replace_arr)));
+ file_put_contents($fileaction['name'], trim(strtr($fileaction['content'], $replace_arr)) . PHP_EOL);
}
}
}
from froxlor.
fixed in 832ee07
from froxlor.
Related Issues (20)
- Option to disable customer login
- The value for the field "system_le_domain_dnscheck_resolver" is not in the expected format.
- Making the default domain an alias domain results in an undefined offset in TrafficCron.php for v2.1.3 HOT 2
- PHP stopped execute after the installation HOT 13
- DbManagerMySQL->grantPrivilegesTo() seems to be somewhat bogus HOT 2
- Need permission again and again. HOT 2
- [FR/Discussion] Master Database User For Customers HOT 2
- froxlor_bind.conf not updated when last domain is is removed form DNS HOT 3
- froxlor:validate-acme-webroot should be called/exposed outside upgrades as well HOT 3
- [FR] (Semi) Automatic Migration To A New Server
- Customer management -> "show notes" displays notes of other customer HOT 4
- Admin Panel -> Traffic -> Customers: Table is using wrong ids for links HOT 1
- Domains.delete doesn't delete mail data HOT 1
- SSL deactivated for specific domain, but still trying to get one from Letsencrypt HOT 2
- Incorrect decision: found symlink pointing outside of customer home directory HOT 4
- Cannot enter endDate for API Keys HOT 1
- Some settings are blocked by OTP authentication requirement although 2FA is disabled HOT 2
- Enabling Mailserver settings/Only E-Mail? disables Nameserver settings HOT 2
- cron task REBUILD_VHOST loop HOT 7
- Traffic Cronjob sends mail violating DMARC rules HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from froxlor.