Advertisement
Guest User

Untitled

a guest
Feb 14th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. foreach($p5s_import as $key => $line)
  2. {
  3. $line = htmlspecialchars_decode($line);
  4. $line = explode(';', $line);
  5. foreach($head as $_key => $item)
  6. {
  7. @$p5s_data['prodID'] = $line[0];
  8. @$p5s_data['items'][$line[1]][$item] = $line[$_key];
  9. }
  10. Registry::registerCache('p5s_import_' . $line[0], array(''), Registry::cacheLevel('static'));
  11. Registry::set('p5s_import_' . $line[0], $p5s_data);
  12. unset($p5s_import[$key]);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement