Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($p5s_import as $key => $line)
- {
- $line = htmlspecialchars_decode($line);
- $line = explode(';', $line);
- foreach($head as $_key => $item)
- {
- @$p5s_data['prodID'] = $line[0];
- @$p5s_data['items'][$line[1]][$item] = $line[$_key];
- }
- Registry::registerCache('p5s_import_' . $line[0], array(''), Registry::cacheLevel('static'));
- Registry::set('p5s_import_' . $line[0], $p5s_data);
- unset($p5s_import[$key]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement