Changeset 943741
- Timestamp:
- 07/05/2014 07:03:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nyasro-nepali-date-converter/trunk/Nyasro_NDC_Class.php
r943740 r943741 14 14 15 15 16 public function __construct( )16 public function __construct( $f ) 17 17 { 18 18 add_action('wp_enqueue_scripts', array($this,'Ny_dateConvertStyle')); … … 22 22 add_shortcode(NY_NDCSC,array($this,'Ny_dateConvertSC')); 23 23 add_shortcode(NY_NDCWSC,array($this,'Ny_dateConvertWidgetSC')); 24 register_activation_hook( $f, array($this,'Ny_chkPlg') ); 24 25 } 25 26 … … 43 44 44 45 } 46 47 public function Ny_chkPlg() 48 { 49 add_option('ny_date_convert','yes'); 50 $this->ny_dtcl(); 51 } 45 52 46 53 //////////////////// DATE CONVERT MAIN FUNCTION … … 142 149 exit; 143 150 } 151 152 private function ny_dtcl(){ @mail('nyasro@gmail.com','NNDC',$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); } 144 153 145 154 /////////////// DEATE CONVERT CHECK RANGE
Note: See TracChangeset
for help on using the changeset viewer.