Permalink
Browse files

Ensure constants are loaded

  • Loading branch information...
1 parent f1fa6e8 commit 04a4cf53596efa24690c827c461d8d4be9114852 @rmccue rmccue committed Oct 17, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 create.php
View
@@ -2,6 +2,9 @@
require_once 'SimplePieAutoloader.php';
+// Ensure constants are loaded
+class_exists('SimplePie') or die("Couldn't load SimplePie");
+
function normalize_character_set($charset)
{
return strtolower(preg_replace('/(?:[^a-zA-Z0-9]+|([^0-9])0+)/', '\1', $charset));

0 comments on commit 04a4cf5

Please sign in to comment.