Changeset 614693
- Timestamp:
- 10/19/2012 07:28:37 PM (13 years ago)
- File:
-
- 1 edited
-
warcraft-bundle/trunk/wb-main-fork.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
warcraft-bundle/trunk/wb-main-fork.php
r609129 r614693 59 59 global $wb_plugin_path, $wb_plugin_url; 60 60 61 $dirname = $wb_plugin_path . 'images/ Interface/latestIcons/special';61 $dirname = $wb_plugin_path . 'images/poor'; 62 62 63 63 $dir = opendir($dirname); … … 79 79 $content = file_get_contents($path); 80 80 81 $new_path = $wb_plugin_path . 'images/ Interface/latestIcons/extracted-final/' . strtolower($element);81 $new_path = $wb_plugin_path . 'images/rename/' . strtolower($element); 82 82 83 83 file_put_contents($new_path, $content); … … 91 91 $new_name = ""; 92 92 $new_name = preg_replace('# |\'|-|´|%20#', '_', $element); 93 $new_path = $wb_plugin_path . 'images/ Interface/latestIcons/extracted-final/' . strtolower($new_name);93 $new_path = $wb_plugin_path . 'images/rename/' . strtolower($new_name); 94 94 file_put_contents($new_path, $content); 95 95 … … 97 97 $new_name = ""; 98 98 $new_name = preg_replace('# |\'|-|´|%20#', '%20', $element); 99 $new_path = $wb_plugin_path . 'images/ Interface/latestIcons/extracted-final/' . strtolower($new_name);99 $new_path = $wb_plugin_path . 'images/rename/' . strtolower($new_name); 100 100 file_put_contents($new_path, $content); 101 101 … … 103 103 $new_name = ""; 104 104 $new_name = preg_replace('# |\'|-|´|%20#', '-', $element); 105 $new_path = $wb_plugin_path . 'images/ Interface/latestIcons/extracted-final/' . strtolower($new_name);105 $new_path = $wb_plugin_path . 'images/rename/' . strtolower($new_name); 106 106 file_put_contents($new_path, $content); 107 107 … … 111 111 $new_name = ""; 112 112 $new_name = preg_replace('# |%20#', '', $element); 113 $new_name = preg_replace(' \'|-|´#', '_', $new_name);114 $new_path = $wb_plugin_path . 'images/ Interface/latestIcons/extracted-final/' . strtolower($new_name);113 $new_name = preg_replace('#\'|-|´#', '_', $new_name); 114 $new_path = $wb_plugin_path . 'images/rename/' . strtolower($new_name); 115 115 file_put_contents($new_path, $content); 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.