Example #1
0
 protected function updateCommonConfiguration()
 {
     $this->setConfig("view_source_path", Strata::getOurVendorPath() . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Error' . DIRECTORY_SEPARATOR);
     $this->setConfig("use_localized_views", false);
     $this->setConfig("allow_debug", false);
     $this->setConfig("layout", "layout");
 }
 /**
  * Assigns all the declared project commands.
  */
 public function assign()
 {
     $path = array(Strata::getOurVendorPath(), "src", "Shell", "Command");
     $cmdPath = implode($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
     if (is_dir($cmdPath)) {
         $this->parseDirectoryForCommandFiles($cmdPath);
     }
 }