mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-08 21:16:17 +09:00
Remove extra slash from compress.zlib call
This commit is contained in:
1 parent
0286c82880
commit
068ae6bc0f
1 file changed
+2
-2
+2
-2
@@ -142,7 +142,7 @@ function plugin_setup_get_templates() {
|
||||
$path = $config['base_path'] . '/install/templates';
|
||||
$info = Array();
|
||||
foreach ($templates as $xmlfile) {
|
||||
$filename = "compress.zlib:///$path/$xmlfile";
|
||||
$filename = "compress.zlib://$path/$xmlfile";
|
||||
$xml = file_get_contents($filename);;
|
||||
//Loading Template Information from package
|
||||
$xmlget = simplexml_load_string($xml);
|
||||
@@ -183,7 +183,7 @@ bk2YZiDglh8lQJxNQI9glG1Z/ptvqprFO3iSx9rTP4vzZ0Ek2+EMYTMCAwEAAQ==
|
||||
-----END PUBLIC KEY-----
|
||||
EOD;
|
||||
|
||||
$filename = "compress.zlib:///$path/$xmlfile";
|
||||
$filename = "compress.zlib://$path/$xmlfile";
|
||||
$binary_signature = "";
|
||||
|
||||
$f = fopen($filename, 'r');
|
||||
|
||||
Reference in new issue
Block a user