A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Soiled Curlew, 10 Years ago, written in PHP.
Embed
  1. $string = <<<SERIALIZES
  2. a:12:{s:4:"type";s:6:"custom";s:2:"id";i:6;s:3:"loc";s:62:"http://www.alsace.ademe.fr/domaines-dintervention/presentation";s:8:"priority";s:3:"0.5";s:10:"changefreq";s:7:"2419200";s:8:"language";s:3:"und";s:6:"submit";s:4:"Save";s:13:"form_build_id";s:48:"form-loPRrfC8Aach0NTtbq9H-aBV7uz7nWxcRM0FCQeeT-0";s:10:"form_token";s:43:"9f6D1kcdcCIOADItybRndSodC2Sa98-mUKqKng4c_UQ";s:7:"form_id";s:32:"xmlsitemap_custom_edit_link_form";s:10:"extern_url";i:1;s:2:"op";s:4:"Save";}
  3. SERIALIZES;
  4.  
  5. $link =unserialize($string);
  6.  
  7. $paths = array(
  8. 'http://www.alsace.ademe.fr/domaines-dintervention/presentation',
  9. 'http://www.aquitaine.ademe.fr/domaines-dintervention/presentation',
  10. 'http://www.auvergne.ademe.fr/domaines-dintervention/presentation',
  11. 'http://www.basse-normandie.ademe.fr/domaines-dintervention/presentation',
  12. 'http://www.bretagne.ademe.fr/domaines-dintervention/presentation',
  13. 'http://www.bourgogne.ademe.fr/domaines-dintervention/presentation',
  14. 'http://www.centre.ademe.fr/domaines-dintervention/presentation',
  15. 'http://www.champagne-ardenne.ademe.fr/domaines-dintervention/presentation',
  16. 'http://www.corse.ademe.fr/domaines-dintervention/presentation',
  17. 'http://ile-de-france.ademe.fr/domaines-dintervention/presentation',
  18. 'http://www.languedoc-roussillon.ademe.fr/domaines-dintervention/presentation',
  19. 'http://www.lorraine.ademe.fr/domaines-dintervention/presentation',
  20. 'http://www.midi-pyrenees.ademe.fr/domaines-dintervention/presentation',
  21. 'http://www.paysdelaloire.ademe.fr/domaines-dintervention/presentation',
  22. 'http://www.ademe-poitou-charentes.fr/domaines-dintervention/presentation',
  23. 'http://www.paca.ademe.fr/domaines-dintervention/presentation',
  24. 'http://www.rhone-alpes.ademe.fr/domaines-dintervention/presentation',
  25. 'https://guadeloupe.ademe.fr/domaines-dintervention/presentation',
  26. 'http://www.martinique.ademe.fr/domaines-dintervention/presentation',
  27. 'http://www.nouvelle-caledonie.ademe.fr/domaines-dintervention/presentation',
  28. );
  29.  
  30. foreach ($paths as $path) {
  31. $link['loc'] = $path;
  32.  
  33.   xmlsitemap_link_save($link);
  34. $link['id'] += 1;
  35. dpm($link);
  36.  
  37. }
  38.