blocks/block.php 1 location
|
@@ 31-33 (lines=3) @@
|
28 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
29 |
|
|
30 |
|
$current_path = __FILE__; |
31 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
32 |
|
$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path); |
33 |
|
} |
34 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
35 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php'; |
36 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/class/utility.php'; |
language/english/admin.php 1 location
|
@@ 10-12 (lines=3) @@
|
7 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
8 |
|
|
9 |
|
$current_path = __FILE__; |
10 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
11 |
|
$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path); |
12 |
|
} |
13 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
14 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php'; |
15 |
|
|
language/english/blocks.php 1 location
|
@@ 10-12 (lines=3) @@
|
7 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
8 |
|
|
9 |
|
$current_path = __FILE__; |
10 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
11 |
|
$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path); |
12 |
|
} |
13 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
14 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php'; |
15 |
|
|
language/english/main.php 1 location
|
@@ 10-12 (lines=3) @@
|
7 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
8 |
|
|
9 |
|
$current_path = __FILE__; |
10 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
11 |
|
$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path); |
12 |
|
} |
13 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
14 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php'; |
15 |
|
|
language/english/modinfo.php 1 location
|
@@ 10-12 (lines=3) @@
|
7 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
8 |
|
|
9 |
|
$current_path = __FILE__; |
10 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
11 |
|
$current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path); |
12 |
|
} |
13 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
14 |
|
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php'; |
15 |
|
|
class/utility.php 1 location
|
@@ 32-34 (lines=3) @@
|
29 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
30 |
|
|
31 |
|
$current_path = __FILE__; |
32 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
33 |
|
$current_path = str_replace(strpos($current_path, '\\\\', 2) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $current_path); |
34 |
|
} |
35 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
36 |
|
$GLOBALS['moddirname'] = $url_arr[2]; |
37 |
|
|
include/functions.php 1 location
|
@@ 32-34 (lines=3) @@
|
29 |
|
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
30 |
|
|
31 |
|
$current_path = __FILE__; |
32 |
|
if (DIRECTORY_SEPARATOR !== '/') { |
33 |
|
$current_path = str_replace(strpos($current_path, '\\\\', 2) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $current_path); |
34 |
|
} |
35 |
|
$url_arr = explode('/', strstr($current_path, '/modules/')); |
36 |
|
$GLOBALS['moddirname'] = $url_arr[2]; |
37 |
|
|