[Isocial-svn] SF.net SVN: isocial: [284] akelos.diff
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <agu...@us...> - 2008-07-13 17:09:05
|
Revision: 284 http://isocial.svn.sourceforge.net/isocial/?rev=284&view=rev Author: aguidrevitch Date: 2008-07-13 10:09:09 -0700 (Sun, 13 Jul 2008) Log Message: ----------- akelos patch synced Modified Paths: -------------- akelos.diff Modified: akelos.diff =================================================================== --- akelos.diff 2008-07-09 15:55:12 UTC (rev 283) +++ akelos.diff 2008-07-13 17:09:09 UTC (rev 284) @@ -1,6 +1,6 @@ Index: lib/Ak.php =================================================================== ---- lib/Ak.php (revision 581) +--- lib/Ak.php (revision 834) +++ lib/Ak.php (working copy) @@ -183,6 +183,11 @@ return @$string[$try_whith_lang]; @@ -23,11 +23,19 @@ }else { $string = isset($framework_dictionary[$string]) ? $framework_dictionary[$string] : $string; } +@@ -351,7 +358,6 @@ + if(!is_dir(dirname($options['base_path'].DS.$file_name))){ + Ak::make_dir(dirname($options['base_path'].DS.$file_name), $options); + } +- + if(!$result = file_put_contents($options['base_path'].DS.$file_name, $content)){ + if(!empty($content)){ + Ak::trace("Please change file/dir permissions or enable FTP file handling by". Index: lib/AkActionController.php =================================================================== ---- lib/AkActionController.php (revision 581) +--- lib/AkActionController.php (revision 834) +++ lib/AkActionController.php (working copy) -@@ -750,7 +750,14 @@ +@@ -749,7 +749,14 @@ */ function t($string, $array = null) { @@ -43,7 +51,7 @@ } -@@ -1950,6 +1957,9 @@ +@@ -1949,6 +1956,9 @@ { if(method_exists(&$this, $action)){ call_user_func_array(array(&$this, $action), @(array)$this->passed_args); @@ -55,9 +63,9 @@ Index: lib/AkInstaller.php =================================================================== ---- lib/AkInstaller.php (revision 581) +--- lib/AkInstaller.php (revision 834) +++ lib/AkInstaller.php (working copy) -@@ -356,11 +356,13 @@ +@@ -358,11 +358,13 @@ function dropTable($table_name, $options = array()) { @@ -78,7 +86,7 @@ } Index: lib/AkActionView/helpers/text_helper.php =================================================================== ---- lib/AkActionView/helpers/text_helper.php (revision 581) +--- lib/AkActionView/helpers/text_helper.php (revision 834) +++ lib/AkActionView/helpers/text_helper.php (working copy) @@ -518,8 +518,18 @@ */ @@ -103,9 +111,9 @@ /** Index: lib/AkActiveRecord.php =================================================================== ---- lib/AkActiveRecord.php (revision 581) +--- lib/AkActiveRecord.php (revision 834) +++ lib/AkActiveRecord.php (working copy) -@@ -5012,6 +5012,7 @@ +@@ -5013,6 +5013,7 @@ $sql .= empty($options['joins']) ? '' : " {$options['joins']} "; @@ -113,7 +121,7 @@ empty($options['conditions']) ? null : $this->addConditions($sql, $options['conditions']); if (!empty($options['group'])){ -@@ -5022,6 +5023,11 @@ +@@ -5023,6 +5024,11 @@ $sql .= empty($options['order']) ? '' : " ORDER BY {$options['order']} "; $this->_db->addLimitAndOffset($sql, $options); $sql .= $use_workaround ? ')' : ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |