Changeset 1379241
- Timestamp:
- 03/26/2016 06:20:43 AM (10 years ago)
- File:
-
- 1 edited
-
static-snapshot/trunk/main.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
static-snapshot/trunk/main.php
r1367903 r1379241 5 5 Plugin URI: http://staticsnapshot.com 6 6 Description: Create a static version of your WordPress site. 7 Version: 0.2. 07 Version: 0.2.1 8 8 Author: Hermes Development 9 9 Author URI: http://hermesdevelopment.com … … 333 333 */ 334 334 function get_backtrack($root_path, $file, $pattern) { 335 $path_after_root = explode($root_path, $file)[1]; 335 $path_after_root_array = explode($root_path, $file); 336 $path_after_root = $path_after_root_array[1]; 336 337 $count = count(explode('/', $path_after_root)) - 1; // don't beginning 337 338 $count = $count - 1; // don't count end
Note: See TracChangeset
for help on using the changeset viewer.