getting cakephp set up with its own web server(s) and docroot
This commit is contained in:
31
web-cake/html/cake/tests/test_app/vendors/shells/sample.php
vendored
Normal file
31
web-cake/html/cake/tests/test_app/vendors/shells/sample.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* Short description for file.
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
|
||||
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||
*
|
||||
* Licensed under The Open Group Test Suite License
|
||||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
|
||||
* @package cake
|
||||
* @subpackage cake.tests.test_app.vendors.shells
|
||||
* @since CakePHP(tm) v 1.2.0.7871
|
||||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
class SampleShell extends Shell {
|
||||
|
||||
/**
|
||||
* main method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function main() {
|
||||
$this->out('This is the main method called from SampleShell');
|
||||
}
|
||||
}
|
0
web-cake/html/cake/tests/test_app/vendors/shells/tasks/empty
vendored
Normal file
0
web-cake/html/cake/tests/test_app/vendors/shells/tasks/empty
vendored
Normal file
2
web-cake/html/cake/tests/test_app/vendors/shells/templates/test/classes/test_object.ctp
vendored
Normal file
2
web-cake/html/cake/tests/test_app/vendors/shells/templates/test/classes/test_object.ctp
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
I got rendered
|
||||
<?php echo $test; ?>
|
Reference in New Issue
Block a user