summaryrefslogtreecommitdiff
path: root/modules/locale/locale.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-08 19:19:01 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-08 19:19:01 +0000
commit013b73e6ec851cea0e72312acce3abeb0cabd472 (patch)
tree69a5e724f11bebc6d588f5a56526b9ebec7e38fb /modules/locale/locale.module
parent451dbd17a6317bf51bf9a39f5df25263a65b408f (diff)
downloadbrdo-013b73e6ec851cea0e72312acce3abeb0cabd472.tar.gz
brdo-013b73e6ec851cea0e72312acce3abeb0cabd472.tar.bz2
- Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r--modules/locale/locale.module12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index a59bd6c7b..58deceb63 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -258,7 +258,7 @@ function locale_get_plural($count) {
* Page handler for the language management screen
*/
function locale_admin_manage() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
$edit = &$_POST['edit'];
if ($_POST['op'] == t('Save configuration')) {
@@ -290,7 +290,7 @@ function locale_admin_manage() {
* User interface for the language deletion confirmation screen
*/
function locale_admin_manage_delete_screen() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
$langcode = arg(4);
$edit = $_POST['edit'];
@@ -334,7 +334,7 @@ function locale_admin_manage_delete_screen() {
* Page handler for the language addition screen
*/
function locale_admin_manage_add() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
$edit = &$_POST['edit'];
$isocodes = _locale_get_iso639_list();
@@ -374,7 +374,7 @@ function locale_admin_manage_add() {
* Page handler for the translation import screen
*/
function locale_admin_import() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
$edit = &$_POST['edit'];
switch ($_POST['op']) {
case t('Import'):
@@ -408,7 +408,7 @@ function locale_admin_import() {
* Page handler for the translation export screen
*/
function locale_admin_export() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
switch ($_POST['op']) {
case t('Export'):
_locale_export_po($_POST['edit']['langcode']);
@@ -425,7 +425,7 @@ function locale_admin_export() {
* Page handler for the string search and administration screen
*/
function locale_admin_string() {
- include_once 'includes/locale.inc';
+ include_once './includes/locale.inc';
$op = ($_POST['op'] ? $_POST['op'] : arg(3));
$edit =& $_POST['edit'];