uawdijnntqw1x1x1
IP : 216.73.216.8
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
phpoption
/
..
/
ether
/
seo
/
src
/
.
/
models
/
Settings.php
/
/
<?php namespace ether\seo\models; use craft\base\Model; class Settings extends Model { // Variables // ========================================================================= // Variables: Sitemap // ------------------------------------------------------------------------- /** @var string */ public $sitemapName = 'sitemap'; /** @var int */ public $sitemapLimit = 1000; /** @var boolean */ public $removeAlternateUrls = false; // Variables: Field Type // ------------------------------------------------------------------------- /** * @var string * @deprecated */ public $titleSuffix; /** @var array */ public $title = [ [ 'key' => '1', 'template' => '{title}', 'locked' => false, ], [ 'key' => '2', 'template' => ' - {{ siteName }}', 'locked' => true, ] ]; /** @var string */ public $description; /** @var array */ public $socialImage; /** @var string */ public $metaTemplate; /** @var array */ public $robots; // Variables: Robots // ------------------------------------------------------------------------- /** @var string */ public $robotsTxt = <<<xyzzy {# Sitemap URL #} Sitemap: {{ url(seo.sitemapName ~ '.xml') }} {# Disallows #} {% if craft.app.config.env != 'production' %} {# Disallow access to everything when NOT in production #} User-agent: * Disallow: / {% else %} {# Disallow access to cpresources/ when live #} User-agent: * Disallow: /cpresources/ {% endif %} xyzzy; // Variables: Social // ------------------------------------------------------------------------- /** @var string */ public $facebookAppId; /** @var string */ public $twitterHandle; // Methods // ========================================================================= /** * @return array */ public function rules (): array { return [ [ ['sitemapName', 'sitemapLimit'], 'required' ], [ ['sitemapName', 'titleSuffix', 'metaTemplate'], 'string' ], [ ['sitemapLimit'], 'number' ], [ ['socialImage'], 'each', 'rule' => ['integer'] ], [ ['removeAlternateUrls'], 'boolean' ], ]; } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/phpoption/../ether/seo/src/./models/Settings.php