We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f651059 commit 124decfCopy full SHA for 124decf
1 file changed
bin/translation.php
@@ -40,13 +40,13 @@
40
switch($action) {
41
case 'pulldef':
42
43
- $content = file_get_contents($base . 'export.php?aid=' . $application . '&type=def&file=' . $basefile);
+ $content = SimpleSAML_Utilities::fetch($base . 'export.php?aid=' . $application . '&type=def&file=' . $basefile);
44
file_put_contents($fileWithoutExt . '.definition.json' , $content);
45
break;
46
47
case 'pull':
48
49
- $content = file_get_contents($base . 'export.php?aid=' . $application . '&type=translation&file=' . $basefile);
+ $content = SimpleSAML_Utilities::fetch($base . 'export.php?aid=' . $application . '&type=translation&file=' . $basefile);
50
file_put_contents($fileWithoutExt . '.translation.json' , $content);
51
52
0 commit comments