Page MenuHomeDevCentral

D38.diff
No OneTemporary

D38.diff

diff --git a/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php b/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
--- a/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
+++ b/files/usr/local/lib/php-fpm-env/PhpFpmEnvironment.php
@@ -63,9 +63,9 @@
}
/**
- * Gets the environment
+ * Prints the environment
*/
- public static function get () {
+ public static function printConfig () {
$variables = static::getEnvironmentVariables();
foreach ($variables as $key => $value) {
echo 'env["', $key, '"] = "', $value, '"', PHP_EOL;
@@ -73,4 +73,4 @@
}
}
-PhpFpmEnvironment::get();
+PhpFpmEnvironment::printConfig();

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 6, 09:06 (19 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2178300
Default Alt Text
D38.diff (695 B)

Event Timeline