-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathinclude.php
More file actions
31 lines (27 loc) · 945 Bytes
/
include.php
File metadata and controls
31 lines (27 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php CModule::AddAutoloadClasses('scrollup.bxd', array('Cbxd' => 'classes/Cbxd.php'));
function __($__, $inPlace = false, $saveToFile = false) {
$debugGroups = explode(",", COption::GetOptionString("scrollup.bxd", "SBXD_GROUPS", ""));
if(CSite::InGroup($debugGroups)){
return call_user_func_array(
array('Cbxd', 'debug'), array($__, $inPlace, $saveToFile)
);
}
}
function _l() {
$debugGroups = explode(",", COption::GetOptionString("scrollup.bxd", "SBXD_GROUPS", ""));
if(CSite::InGroup($debugGroups)){
$_ = func_get_args();
return call_user_func_array(
array('Cbxd', 'l'), $_
);
}
}
function _c() {
$debugGroups = explode(",", COption::GetOptionString("scrollup.bxd", "SBXD_GROUPS", ""));
if(CSite::InGroup($debugGroups)){
$_ = func_get_args();
return call_user_func_array(
array('Cbxd', 'c'), $_
);
}
}