| @@ 222-224 (lines=3) @@ | ||
| 219 | $_SESSION['fullurl'] = $_POST['fullurl']; |
|
| 220 | $abspath = str_replace('\\', '/', $_POST['abspath']); |
|
| 221 | $_SESSION['abspath'] = $abspath; |
|
| 222 | if (substr($abspath, strlen($abspath) - 1) == "/") { |
|
| 223 | $abspath = substr($abspath, 0, strlen($abspath) - 1); |
|
| 224 | } |
|
| 225 | $okWritable = true; |
|
| 226 | $okExtensions = true; |
|
| 227 | $txt = ""; |
|
| @@ 105-107 (lines=3) @@ | ||
| 102 | $data = array_merge($data, array("task" => $json)); |
|
| 103 | ||
| 104 | $abspath = str_replace('\\', '/', $data['root_path']); |
|
| 105 | if (substr($abspath, strlen($abspath) - 1) == "/") { |
|
| 106 | $abspath = substr($abspath, 0, strlen($abspath) - 1); |
|
| 107 | } |
|
| 108 | $session_abspath = $abspath; |
|
| 109 | $session_url_path = $data['url_path']; |
|
| 110 | ||