Diseño 141 – perfil VideoChat Chaturbate ya creado
Diseño simple y bien estructurado sobre un fondo blanco. Si te gustan los gatitos, esta puede ser tu eleccion de perfil para tu biografia. Ver Demo Las instrucciones con imagenes…
%PDF- %PDF-
| Direktori : /scripts/ |
| Current File : //scripts/check_domain_recommendations_store |
#!/bin/bash
eval '/usr/local/cpanel/scripts/fix-cpanel-perl && exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}' ## no critic qw(ProhibitStringyEval RequireUseStrict RequireUseWarnings)
if 0;
#!/usr/bin/perl
# cpanel - scripts/check_domain_recommendations_store
# Copyright 2026 WebPros International, LLC
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cpanel license. Unauthorized copying is prohibited
package scripts::check_domain_recommendations_store;
use cPstrict;
use Cpanel::Usage ();
=encoding utf-8
=head1 NAME
check_domain_recommendations_store - notify the WHM admin when the
domain-recommendation feature is enabled but the WHMCS store is unreachable
=head1 SYNOPSIS
check_domain_recommendations_store [--notify]
=head1 DESCRIPTION
Re-evaluates the domain-recommendation store state and, with C<--notify>,
raises the WHM admin notification when the feature is enabled in one or more
feature lists but the configured store fails its connection test. Without
C<--notify> it only reports the state. Intended to be run from
C<scripts/maintenance> and on demand; it is a no-op (and sends nothing) once
the store is reachable, so the notification clears on its own.
Exits 2 when the misconfigured state is present (a notification is warranted),
0 otherwise.
=cut
exit( run(@ARGV) // 0 ) unless caller;
sub run (@argv) {
my $notify = 0;
my %opts = ( 'notify' => \$notify );
# wrap_options returns a status > 2 for a malformed command line (e.g. an
# unknown option under strict); reject those with a non-zero exit.
my $status = Cpanel::Usage::wrap_options( { strict => 1 }, \@argv, \&usage, \%opts ) || 0;
usage(1) if $status > 2;
require Cpanel::DomainRecommendations::Notify;
my $feature_lists_ar = Cpanel::DomainRecommendations::Notify::misconfigured_feature_lists();
my $misconfigured = scalar @$feature_lists_ar;
if ( $misconfigured && $notify ) {
Cpanel::DomainRecommendations::Notify::notify();
}
return $misconfigured ? 2 : 0;
}
sub usage ( $exit_code = 0 ) {
print <<'END_USAGE';
Usage: check_domain_recommendations_store [options]
Notify the WHM administrator when the "Domain Recommendation & Purchase"
feature is enabled but the configured WHMCS store is unreachable.
Options:
--notify Raise the WHM admin notification when the misconfigured state
is detected. Without this flag the state is only evaluated.
--help Show this help and exit.
END_USAGE
exit $exit_code;
}
1;
Diseño simple y bien estructurado sobre un fondo blanco. Si te gustan los gatitos, esta puede ser tu eleccion de perfil para tu biografia. Ver Demo Las instrucciones con imagenes…
Un diseño pensado para usarlo en las fiestas de navidad. Lo podemos personalizar, poniendo tu foto de fondo y asi darle un toque totalmente personal. Ver Demo Las instrucciones con…
Feliz año nuevo - empieza el nuevo año deseando y deseandote todo lo mejor. Puedes usar este diseño en los primeros dias del año, para recrear la atmosfera fertiva que…
Si eres amante de las motos y la montaña, puedes usar este diseño en tu perfil. Concebido en especial para chicos. Lo podemos personalizar para ti, si nos envias un…
Un diseño maravilloso para tu pagina en chaturbate. El diseño esta enfocado en el periodo invernal y lo puedes usar tranquilamente al menos en los meses de diciembre y enero.…
No siempre la navidad debe ser brillante, sobre todo si no se adapta a tu forma de ser. Si consideras que tienes un lado gotico, algo oscuro y quieres quieres…
A casi todos nos gustan los gatos, pero este gato es especial, ya que hace yoga para calmar sus instintos felinos. Es probable que si eres una persona flexible, calma…
Las fiestas de navidad, son una buena oportunidad para lucirte en tu show online. Hazlo con un perfil divertido, muy bien estructurado y un diseño claro. Ver Demo Las instrucciones…
Bonito, elegante, lujo, son solo algunas de las palabras que podrian definir este diseño. Recomendado para las personas que desean dar un aspecto mas elegante a su sala de chat.…
Esqueletos, calabazas y arañas, abrazadas por el fuego desatado en la unica noche del año cuando el velo entre los vivos y los muertos, es tan fino que casi se…