mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-22 11:14:13 +00:00
whatever
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5102 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
83f848768b
commit
cb09b09f82
3 files changed
+37
-13
No files matched your search
@@ -85,7 +85,7 @@ int eval_some_js(char *code, JSContext * cx, JSObject * obj, jsval * rval)
|
||||
cptr = code + 1;
|
||||
script = JS_CompileScript(cx, obj, cptr, strlen(cptr), "inline", 1);
|
||||
} else {
|
||||
if (*code == '/') {
|
||||
if (switch_is_file_path(code)) {
|
||||
script_name = code;
|
||||
} else if ((path = switch_mprintf("%s%s%s", SWITCH_GLOBAL_dirs.script_dir, SWITCH_PATH_SEPARATOR, code))) {
|
||||
script_name = path;
|
||||
|
||||
Reference in new issue
Block a user