Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/system/helpers/xml_helper.php b/system/helpers/xml_helper.php
index b916644..256d1e0 100644
--- a/system/helpers/xml_helper.php
+++ b/system/helpers/xml_helper.php
@@ -1,4 +1,4 @@
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -34,7 +34,7 @@
* @param string
* @return string
*/
-if (! function_exists('xml_convert'))
+if ( ! function_exists('xml_convert'))
{
function xml_convert($str)
{
@@ -57,6 +57,6 @@
}
}
-
-/* End of file xml_helper.php */
+
+/* End of file xml_helper.php */
/* Location: ./system/helpers/xml_helper.php */
\ No newline at end of file