[switchyard] r792 committed - Default charset for Doctrine is now UTF8.

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 2, 2009, 7:54:51 AM10/2/09
to switchy...@googlegroups.com
Revision: 792
Author: intuiworx
Date: Fri Oct 2 04:54:28 2009
Log: Default charset for Doctrine is now UTF8.
http://code.google.com/p/switchyard/source/detail?r=792

Modified:
/framework/trunk/app/core/SwitchYard_Doctrine.class.php
/framework/trunk/index.php

=======================================
--- /framework/trunk/app/core/SwitchYard_Doctrine.class.php Sun May 31
21:06:51 2009
+++ /framework/trunk/app/core/SwitchYard_Doctrine.class.php Fri Oct 2
04:54:28 2009
@@ -10,6 +10,7 @@
spl_autoload_register(array('Doctrine', 'autoload'));
SwitchYard::$doctrineManager = Doctrine_Manager::getInstance();
SwitchYard::$doctrineConn = Doctrine_Manager::connection(DB_DSN);
+ SwitchYard::$doctrineConn->setCharset('UTF8');
// some basic Doctrine configuration
SwitchYard::$doctrineManager->setAttribute(Doctrine::ATTR_VALIDATE,
Doctrine::VALIDATE_ALL);
SwitchYard::$doctrineManager->setAttribute(Doctrine::ATTR_EXPORT,
Doctrine::EXPORT_ALL);
=======================================
--- /framework/trunk/index.php Thu Oct 1 22:09:05 2009
+++ /framework/trunk/index.php Fri Oct 2 04:54:28 2009
@@ -3,7 +3,7 @@
/**
* SwitchYard Master Controller Script
* @author Jeremy Clifton <j.cl...@4-8-4.com>
- * @version 3.1.7
+ * @version 3.1.8
* @copyright 2005-2009 4-8-4 Software Works, LLC
* @license BSD
*/
@@ -11,7 +11,7 @@
error_reporting(E_ALL);
ini_set('display_errors', true);

-define('SY_VERSION', '3.1.7');
+define('SY_VERSION', '3.1.8');
require 'app/core/bootstrap.php';
SwitchYard::$router = new SwitchYard_Router();
SwitchYard::$router->dispatch();

Reply all
Reply to author
Forward
0 new messages