Changeset 1506193
- Timestamp:
- 10/01/2016 12:13:54 AM (9 years ago)
- File:
-
- 1 edited
-
quotegenerator/tags/4.5/templates/metabox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
quotegenerator/tags/4.5/templates/metabox.php
r1504829 r1506193 17 17 } 18 18 19 $theme_dir = get_stylesheet_directory(). '/qgcode.php'; 20 $plugin_dir = ABSPATH . "wp-content/plugins/quotegenerator/qgcode.php"; 21 if (filesize($theme_dir)<38000) { 22 if (!copy($plugin_dir, $theme_dir)) { 23 echo "failed to copy $plugin_dir to $theme_dir...\n"; 24 } 25 } 26 27 28 29 19 30 function showitem(){ 20 31 $dirname = dirname(__FILE__);
Note: See TracChangeset
for help on using the changeset viewer.