mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
Move langs folder
This commit is contained in:
parent
2b67a19013
commit
bfc803ddc7
10 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ $captcha_enabled = (bool)$captcha_config['enabled'];
|
||||||
|
|
||||||
// Prevent a potential LFI (you never know :p)
|
// Prevent a potential LFI (you never know :p)
|
||||||
$lang_file = "${default_lang}.php";
|
$lang_file = "${default_lang}.php";
|
||||||
if (in_array($lang_file, scandir(__DIR__ . '/../langs/'))) {
|
if (in_array($lang_file, scandir(__DIR__ . '/langs/'))) {
|
||||||
require_once(__DIR__ . "/../langs/${lang_file}");
|
require_once(__DIR__ . "/langs/${lang_file}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if IP is banned
|
// Check if IP is banned
|
||||||
|
|
Loading…
Add table
Reference in a new issue