Index: coder_format.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/coder/scripts/coder_format/coder_format.inc,v retrieving revision 1.2.4.4 diff -u -r1.2.4.4 coder_format.inc --- coder_format.inc 16 Jan 2008 14:02:49 -0000 1.2.4.4 +++ coder_format.inc 16 Jan 2008 21:46:24 -0000 @@ -958,7 +958,7 @@ // ((.+ => .+, ){3,}) matches all array items, except the last one. // (.+ => ([^\(\)]+)) matches the last array item, excluding. // arrays or functions (starting with a left parenthesis) (not supported yet). - #'#search' => '/^([\040\t]*)(.*?array\()((.+ => .+, ){3,})(.+ => ([^\(\)]+))\)/m', + //'#search' => '/^([\040\t]*)(.*?array\()((.+ => .+, ){3,})(.+ => ([^\(\)]+))\)/m', '#replace_callback' => 'coder_replace_array_rearrange', ); } @@ -1037,6 +1037,11 @@ return htmlspecialchars($text, ENT_QUOTES); } } +if (!function_exists('conf_path')) { + function conf_path() { + return "sites/default"; + } +} /** * @} End of "defgroup coder_format_stub_functions".