protected function execute(InputInterface $input, OutputInterface $output) { if (!$this->isInstalled()) { throw new RuntimeException('Invalid Kirby installation'); } // bootstrap the core $this->bootstrap(); $output->writeln("<info>Core:\t\t" . kirby::version() . "</info>"); $output->writeln("<info>Toolkit:\t" . toolkit::version() . "</info>"); // also check for the panel version, if it is installed if (is_dir($this->dir() . '/panel')) { if (!is_file($this->dir() . '/panel/app/bootstrap.php')) { throw new RuntimeException('The panel does not seem to be correctly installed'); } // bootstrap the panel require $this->dir() . '/panel/app/bootstrap.php'; $output->writeln("<info>Panel:\t\t" . panel::version() . "</info>"); } }
: <?php echo toolkit::version(); ?> <br /> <?php _l('metatags.version.kirby'); ?> : <?php echo kirby::version(); ?> <br /> <?php _l('metatags.version.panel'); ?> : <?php echo panel::version(); ?> </p> </div> <h2 class="hgroup hgroup-single-line hgroup-compressed cf"> <span class="hgroup-title"> <?php _l('metatags.license'); ?> </span> </h2> <div class="text"> <?php if ($license->type() == 'trial' and !$license->local()) { ?>