Changeset 2723 for branches/feature-no-make-me/lib/MT.pm
- Timestamp:
- 07/07/08 23:46:28 (17 months ago)
- Files:
-
- 1 modified
-
branches/feature-no-make-me/lib/MT.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-no-make-me/lib/MT.pm
r2702 r2723 94 94 <MT_TRANS phrase="http://www.sixapart.com/movabletype/"> 95 95 SLUG 96 } 97 98 sub build_id { 99 my $build_id = '__BUILD_ID__'; 100 $build_id = '' if $build_id eq '__BUILD_' . 'ID__'; 101 return $build_id; 96 102 } 97 103 … … 2068 2074 $param->{language_tag} = substr($mt->current_language, 0, 2); 2069 2075 $param->{language_encoding} = $mt->charset; 2076 $param->{optimize_ui} = $mt->build_id && !$MT::DebugMode; 2070 2077 if ($mt->isa('MT::App')) { 2071 2078 if (my $author = $mt->user) {
