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/libraries/Model.php b/system/libraries/Model.php
index 1e7b9a1..5c8d433 100644
--- a/system/libraries/Model.php
+++ b/system/libraries/Model.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

  *

@@ -59,7 +59,7 @@
 		$CI =& get_instance();				

 		foreach (array_keys(get_object_vars($CI)) as $key)

 		{

-			if (! isset($this->$key) AND $key != $this->_parent_name)

+			if ( ! isset($this->$key) AND $key != $this->_parent_name)

 			{			

 				// In some cases using references can cause

 				// problems so we'll conditionally use them

@@ -79,6 +79,6 @@
 

 }

 // END Model Class

-
-/* End of file Model.php */
+

+/* End of file Model.php */

 /* Location: ./system/libraries/Model.php */
\ No newline at end of file