2005-05-22 23:24:09 +00:00
|
|
|
#!/usr/local/bin/php
|
2005-07-04 01:07:14 +00:00
|
|
|
<?php
|
2005-08-21 06:49:02 +00:00
|
|
|
/* SVN FILE: $Id$ */
|
2005-05-22 23:24:09 +00:00
|
|
|
|
|
|
|
/**
|
2005-10-18 22:27:39 +00:00
|
|
|
* Bake startup script
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
2005-10-18 22:27:39 +00:00
|
|
|
* Invokes the Bake class with given parameters.
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
|
|
|
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
|
2005-12-23 21:57:26 +00:00
|
|
|
* Copyright (c) 2005, Cake Software Foundation, Inc.
|
|
|
|
* 1785 E. Sahara Avenue, Suite 490-204
|
|
|
|
* Las Vegas, Nevada 89104
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
2005-12-23 21:57:26 +00:00
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
|
|
|
* @filesource
|
2005-12-23 21:57:26 +00:00
|
|
|
* @copyright Copyright (c) 2005, Cake Software Foundation, Inc.
|
|
|
|
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
|
2005-08-21 06:49:02 +00:00
|
|
|
* @package cake
|
2005-10-09 01:56:21 +00:00
|
|
|
* @subpackage cake.cake.scripts
|
2005-08-21 06:49:02 +00:00
|
|
|
* @since CakePHP v 0.2.9
|
|
|
|
* @version $Revision$
|
|
|
|
* @modifiedby $LastChangedBy$
|
|
|
|
* @lastmodified $Date$
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
|
*/
|
2005-05-22 23:24:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* START-UP
|
|
|
|
*/
|
|
|
|
define ('DS', DIRECTORY_SEPARATOR);
|
|
|
|
define ('ROOT', dirname(dirname(__FILE__)).DS);
|
|
|
|
|
|
|
|
require (ROOT.'config'.DS.'paths.php');
|
|
|
|
require (LIBS.'basics.php');
|
|
|
|
uses ('bake');
|
|
|
|
|
|
|
|
$waste = array_shift($argv);
|
|
|
|
$product = array_shift($argv);
|
|
|
|
|
|
|
|
$bake = new Bake ($product, $argv);
|
|
|
|
|
2005-05-15 21:41:38 +00:00
|
|
|
?>
|