Sfoglia il codice sorgente

Enable translation of strings returned by API

Raphaël Rochet 8 anni fa
parent
commit
cd839c9812
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      api/index.php

+ 2 - 0
api/index.php

@@ -53,6 +53,8 @@
 		@session_start();
 	}
 
+	startup_gettext();
+
 	if (!init_plugins()) return;
 
 	$method = strtolower($_REQUEST["op"]);