Commit b78693cd authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

1. fixed warning when creating a symlink 2. (tmp?) create symlink on page load

parent 6306c43a
......@@ -75,6 +75,8 @@ function init(){
$.ajax({url:"camogm.php?cmd=create_symlink&path="+$(this).val()});
});
$.ajax({url:"camogm.php?cmd=create_symlink&path="+$("#abspath").val()});
ct3 = $("<div style='padding-top:20px;'>");
tmpstr = "<table>\n";
......
......@@ -74,7 +74,6 @@ if ($cmd=="create_symlink"){
exec("ln -sf $path /www/pages/video;sync");
}
}
break;
}
//camogm pipe commands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment