Ejemplo n.º 1
0
 /**
  */
 protected function init()
 {
     // run parent
     parent::init();
     // init directives
     $this->title = __('Site Title');
 }
Ejemplo n.º 2
0
 /**
  */
 protected function init()
 {
     // run parent
     parent::init();
     // init directives
     $this->title = __('Tagline');
     $this->description = __('In a few words, explain what this site is about.');
 }
Ejemplo n.º 3
0
 /**
  */
 protected function init()
 {
     // is the plugin active?
     if ($this->plugin_active()) {
         // yes, ok to init
         parent::init();
         // init directives
         $this->title = __('Custom Domain', infinity_text_domain);
         $this->description = __('Enter the custom domain name you wish to map to your site.', infinity_text_domain);
     } else {
         // not active
         throw new Exception('The domain mapping plugin has not been enabled');
     }
 }