public static function update_file_paths() { global $wp_filesystem; /* * Assume FTP is rooted to the Wordpress install */ self::$directory = self::get_base_directory(FP_PDF_PLUGIN_DIR); self::$template_directory = self::get_base_directory(FP_PDF_TEMPLATE_LOCATION); self::$template_save_directory = self::get_base_directory(FP_PDF_SAVE_LOCATION); self::$template_font_directory = self::get_base_directory(FP_PDF_FONT_LOCATION); }