芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/www/modules/codebench/classes/controller/codebench.php
request->param('class'); // Convert submitted class name to URI segment if (isset($_POST['class'])) { $this->request->redirect('codebench/'.trim($_POST['class'])); } // Pass the class name on to the view $this->template->class = (string) $class; // Try to load the class, then run it if (Kohana::auto_load($class) === TRUE) { $codebench = new $class; $this->template->codebench = $codebench->run(); } } }