Changeset 1027 in ExiteCMS for branches/PLi-Fusion
- Timestamp:
- 10/27/07 11:28:20 (5 years ago)
- Location:
- branches/PLi-Fusion
- Files:
-
- 6 edited
- 1 copied
-
. (modified) (1 prop)
-
administration/index.php (modified) (1 diff)
-
edit_profile.php (modified) (2 diffs)
-
images/advertising (modified) (1 prop)
-
includes/dns_functions.php (copied) (copied from trunk/includes/dns_functions.php)
-
register.php (modified) (3 diffs)
-
robots.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/PLi-Fusion
- Property svn:ignore
-
old new 2 2 config.backup.php 3 3 config.php 4 _revision_.svn
-
- Property svn:ignore
-
branches/PLi-Fusion/administration/index.php
r1018 r1027 65 65 while ($data = dbarray($result)) { 66 66 if (checkrights($data['admin_rights']) && $data['admin_link'] != "reserved") { 67 // check the location of the admin image, and add the correct path to it67 // check the location and the existence of the admin image, and pass the full path to the template 68 68 $path = explode("/", $data['admin_link']); 69 if (isset($path[2]) ) {69 if (isset($path[2]) && file_exists(PATH_MODULES.$path[2]."/images/".$data['admin_image'])) { 70 70 $data['admin_image'] = MODULES.$path[2]."/images/".$data['admin_image']; 71 71 } else { 72 $data['admin_image'] = ADMIN."images/".$data['admin_image']; 72 if (file_exists(PATH_ADMIN."images/".$data['admin_image'])) { 73 $data['admin_image'] = ADMIN."images/".$data['admin_image']; 74 } else { 75 $data['admin_image'] = ADMIN."images/module_panel.gif"; 76 } 73 77 } 74 78 // store the record -
branches/PLi-Fusion/edit_profile.php
r989 r1027 14 14 +----------------------------------------------------*/ 15 15 require_once dirname(__FILE__)."/includes/core_functions.php"; 16 require_once PATH_ ROOT."/includes/theme_functions.php";16 require_once PATH_INCLUDES."theme_functions.php"; 17 17 18 18 // temp storage for template variables 19 19 $variables = array(); 20 21 // load the DNS functions include 22 include PATH_INCLUDES."dns_functions.php"; 20 23 21 24 // load the locates for this module … … 70 73 $email = $_POST['user_email']; 71 74 $email_domain = substr(strrchr($email, "@"), 1); 72 if ( getmxrr($email_domain, $mxhosts)) {75 if (CMS_getmxrr($email_domain, $mxhosts)) { 73 76 // Get the hostname the MX record points to 74 77 $mailhost = $mxhosts[0]; -
branches/PLi-Fusion/images/advertising
- Property svn:ignore
-
old new 1 1 WanWizard_Exite_logo.png 2 webmaster_Exite_logo.png
-
- Property svn:ignore
-
branches/PLi-Fusion/register.php
r954 r1027 14 14 +----------------------------------------------------*/ 15 15 require_once dirname(__FILE__)."/includes/core_functions.php"; 16 require_once PATH_ ROOT."/includes/theme_functions.php";16 require_once PATH_INCLUDES."theme_functions.php"; 17 17 18 18 // temp storage for template variables … … 21 21 // no point registering when you're already a member 22 22 if (iMEMBER) fallback(BASEDIR."index.php"); 23 24 // include the DNS functions include 25 include PATH_INCLUDES."dns_functions.php"; 23 26 24 27 // load the locales for this module … … 74 77 75 78 $email_domain = substr(strrchr($email, "@"), 1); 76 if ( getmxrr($email_domain, $mxhosts)) {79 if (CMS_getmxrr($email_domain, $mxhosts)) { 77 80 // Get the hostname the MX record points to 78 81 $mailhost = $mxhosts[0]; -
branches/PLi-Fusion/robots.txt
r787 r1027 1 # /robots.txt file for http://www.pli-images.org/ 2 # mail webmaster@pli-images.org for constructive criticism 1 # /robots.txt file 3 2 4 3 User-agent: *
Note: See TracChangeset
for help on using the changeset viewer.
