admin
11 years ago
actions.php
11 years ago
class-TCM-check.php
11 years ago
class-TCM-cron.php
11 years ago
class-TCM-form.php
11 years ago
class-TCM-language.php
11 years ago
class-TCM-logger.php
11 years ago
class-TCM-manager.php
11 years ago
class-TCM-options.php
11 years ago
class-TCM-tracking.php
11 years ago
class-TCM-utils.php
11 years ago
core.php
11 years ago
install.php
11 years ago
uninstall.php
11 years ago
install.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | function tcm_install($networkwide=NULL) { |
| 4 | global $wpdb, $tcm; |
| 5 | |
| 6 | $time=$tcm->Options->getPluginInstallDate(); |
| 7 | if($time==0) { |
| 8 | $tcm->Options->setPluginInstallDate(time()); |
| 9 | } |
| 10 | $tcm->Options->setPluginUpdateDate(time()); |
| 11 | } |
| 12 | |
| 13 | register_activation_hook(TCM_PLUGIN_FILE, 'tcm_install'); |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 |