| @@ 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 = ""; |
|
| @@ 86-88 (lines=3) @@ | ||
| 83 | $data = array_merge($data, array("task" => $json)); |
|
| 84 | ||
| 85 | $abspath = str_replace('\\', '/', $data['root_path']); |
|
| 86 | if (substr($abspath, strlen($abspath) - 1) == "/") { |
|
| 87 | $abspath = substr($abspath, 0, strlen($abspath) - 1); |
|
| 88 | } |
|
| 89 | $_SESSION['abspath'] = $abspath; |
|
| 90 | $_SESSION['url_path'] = $data['url_path']; |
|
| 91 | ||