Commit df15e3e8a3fc11426394f58809a03df6056122e4
1 parent
1bdae4cb81
Exists in
master
serialized.txt
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
sinkronisasi_export.php
... | ... | @@ -8,7 +8,7 @@ if (function_exists('drush_main')) { |
8 | 8 | |
9 | 9 | foreach ($vocabularies as $machine_name) { |
10 | 10 | file_put_contents( |
11 | - "adhisimon/sinkronisasi-drupal/$machine_name.txt", | |
11 | + "adhisimon/sinkronisasi-drupal/$machine_name.serialized.txt", | |
12 | 12 | serialize(sinkronisasi_export($machine_name)) |
13 | 13 | ); |
14 | 14 | } |
sinkronisasi_import.php
... | ... | @@ -10,7 +10,7 @@ if (function_exists('drush_main')) { |
10 | 10 | foreach ($machine_names as $machine_name) { |
11 | 11 | |
12 | 12 | $vocabulary = taxonomy_vocabulary_machine_name_load($machine_name); |
13 | - $data = file_get_contents("http://p2humas.intranet.pajak.go.id/adhisimon/sinkronisasi-drupal/" . $machine_name . ".txt"); | |
13 | + $data = file_get_contents("http://p2humas.intranet.pajak.go.id/adhisimon/sinkronisasi-drupal/" . $machine_name . ".serialized.txt"); | |
14 | 14 | |
15 | 15 | if ($do_insert) { |
16 | 16 | echo "Delete data\n"; |