Skip to content

Instantly share code, notes, and snippets.

@rwetzlmayr
Created October 17, 2010 13:26
Show Gist options
  • Save rwetzlmayr/630852 to your computer and use it in GitHub Desktop.
Save rwetzlmayr/630852 to your computer and use it in GitHub Desktop.
TXP 4.3.0 w/o i18n in css
Index: textpattern/publish.php
===================================================================
--- textpattern/publish.php (revision 3429)
+++ textpattern/publish.php (working copy)
@@ -109,7 +109,7 @@
$txp_user = NULL;
//i18n: $textarray = load_lang('en-gb');
- $textarray = load_lang(LANG);
+ $textarray = (txpinterface == 'css') ? array() : load_lang(LANG);
// tidy up the site
janitor();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment