root/wp-email/trunk/email-standalone.php

Revision 50002, 1.1 kB (checked in by GamerZ, 4 weeks ago)

Fixed MYSQL Charset Issue

Line 
1 <?php
2 /*
3 +----------------------------------------------------------------+
4 |                                                                                            |
5 |    WordPress 2.5 Plugin: WP-EMail 2.31                                        |
6 |    Copyright (c) 2008 Lester "GaMerZ" Chan                                    |
7 |                                                                                            |
8 |    File Written By:                                                                    |
9 |    - Lester "GaMerZ" Chan                                                            |
10 |    - http://lesterchan.net                                                            |
11 |                                                                                            |
12 |    File Information:                                                                    |
13 |    - E-Mail Post/Page To A Friend                                                |
14 |    - wp-content/plugins/wp-email/email-standalone.php                    |
15 |                                                                                            |
16 +----------------------------------------------------------------+
17 */
18
19
20 ### Session Start
21 @session_start();
22
23 ### Filters
24 add_filter('wp_title', 'email_pagetitle');
25 add_action('loop_start', 'email_addfilters');
26
27 ### We Use Page Template
28 if(file_exists(TEMPLATEPATH.'/email.php')) {
29     include(TEMPLATEPATH.'/email.php');
30 } elseif(file_exists(TEMPLATEPATH.'/page.php')) {
31     include(get_page_template());
32 } elseif(file_exists(TEMPLATEPATH.'/single.php')) {
33     include(get_single_template());
34 } else {
35     include(TEMPLATEPATH.'/index.php');
36 }
37 ?>
Note: See TracBrowser for help on using the browser.