<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>functions/mimes.php</filename>
    </added>
    <added>
      <filename>logs/index.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -827,9 +827,9 @@ function pagination($options=null) {
  * @param	bool	whether the error is a native PHP error
  * @return	bool
  */
-function log_message($message = '', $php_error = FALSE) {
+function log_message($message = '') {
 
-	$filepath = SYSTEM_PATH. 'log-'. date('Y-m-d'). '.php';
+	$filepath = LOG_PATH. 'log-'. date('Y-m-d'). '.php';
 
 	//Add a exit header to the file
 	if ( ! file_exists($filepath)) {
@@ -841,13 +841,13 @@ function log_message($message = '', $php_error = FALSE) {
 	}
 
 	//Add a timestamp
-	$message .= ' on '. date(&quot;M j, Y, g:i a&quot;). &quot;\n&quot;;
+	$message .= ' - '. date(&quot;M j, Y, g:i a&quot;). &quot;\n&quot;;
 
 	flock($fp, LOCK_EX);
 	fwrite($fp, $message);
 	flock($fp, LOCK_UN);
 	fclose($fp);
 
-	@chmod($filepath, '0666');
 	return TRUE;
 }
+</diff>
      <filename>functions/common.php</filename>
    </modified>
    <modified>
      <diff>@@ -31,15 +31,18 @@ define('DS', DIRECTORY_SEPARATOR);
 //Define the base file system path to MicroMVC
 define('SYSTEM_PATH', realpath(dirname(__FILE__)). DS);
 
-//Define the base file system path to MicroMVC
+//Define the base file system path to libraries
 define('LIBRARY_PATH', SYSTEM_PATH. 'libraries'. DS);
 
-//Define the base file system path to MicroMVC
+//Define the base file system path to functions
 define('FUNCTION_PATH', SYSTEM_PATH. 'functions'. DS);
 
-//Define the base file system path to MicroMVC
+//Define the base file system path to modules
 define('MODULE_PATH', SYSTEM_PATH. 'modules'. DS);
 
+//Define the base file system path to logs
+define('LOG_PATH', SYSTEM_PATH. 'logs'. DS);
+
 
 //Include the common file to continue loading
 require_once(FUNCTION_PATH. 'common.php');
@@ -57,16 +60,16 @@ define('SITE_PATH', SYSTEM_PATH. DOMAIN. DS);
 //The file system path of the site's cache folder
 define('CACHE_PATH', SITE_PATH. 'cache'. DS);
 
-//The file system path of the site's upload folder
+//The file system path of the site's config folder
 define('CONFIG_PATH', SITE_PATH. 'config'. DS);
 
-//The file system path of the site's upload folder
+//The file system path of the site's models folder
 define('MODEL_PATH', SITE_PATH. 'models'. DS);
 
-//The file system path of the site's upload folder
+//The file system path of the site's uploads folder
 define('UPLOAD_PATH', SITE_PATH. 'uploads'. DS);
 
-//The file system path of the site's upload folder
+//The file system path of the site's views folder
 define('VIEW_PATH', SITE_PATH. 'views'. DS);
 
 </diff>
      <filename>index.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>497fb6c5258904a92a226e01a97388eccbd80ef4</id>
    </parent>
  </parents>
  <author>
    <name>Xeoncross</name>
    <email>david@xeoncross.com</email>
  </author>
  <url>http://github.com/Xeoncross/micromvc/commit/beb2272f2238e65fa45add3a461e60382ffacff1</url>
  <id>beb2272f2238e65fa45add3a461e60382ffacff1</id>
  <committed-date>2009-07-15T10:47:48-07:00</committed-date>
  <authored-date>2009-07-15T10:47:48-07:00</authored-date>
  <message>Built a new mime functions class that will help with file upload/download handling.</message>
  <tree>0a0529c16f5bb11180a52aacb54a2eefbdbe99f5</tree>
  <committer>
    <name>Xeoncross</name>
    <email>david@xeoncross.com</email>
  </committer>
</commit>
