mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
going thru trunk and cleaning up the file headers so API docs can be created properly
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@307 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
a558a1e922
commit
e1f48bf379
3 changed files with 51 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
<?PHP
|
<?php
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// + $Id$
|
// + $Id$
|
||||||
// +------------------------------------------------------------------+ //
|
// +------------------------------------------------------------------+ //
|
||||||
|
|
|
@ -1,10 +1,44 @@
|
||||||
<?PHP
|
<?php
|
||||||
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
// + $Id$
|
||||||
|
// +------------------------------------------------------------------+ //
|
||||||
|
// +------------------------------------------------------------------+ //
|
||||||
|
// + Licensed + //
|
||||||
|
// + + //
|
||||||
|
// + + //
|
||||||
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Purpose:
|
||||||
|
*
|
||||||
|
* @filesource
|
||||||
|
* @author Cake Authors/Developers
|
||||||
|
* @copyright Copyright (c) 2005, Cake Authors/Developers
|
||||||
|
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
|
||||||
|
* @package cake
|
||||||
|
* @subpackage cake.public
|
||||||
|
* @since Cake v 0.2.9
|
||||||
|
* @version $Revision$
|
||||||
|
* @modifiedby $LastChangedBy$
|
||||||
|
* @lastmodified $Date$
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*/
|
||||||
require(ROOT.'config'.DS.'paths.php');
|
require(ROOT.'config'.DS.'paths.php');
|
||||||
require(LIBS.'basics.php');
|
require(LIBS.'basics.php');
|
||||||
require(LIBS.'file.php');
|
require(LIBS.'file.php');
|
||||||
require(LIBS.'legacy.php');
|
require(LIBS.'legacy.php');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
* @param unknown_type $path
|
||||||
|
* @param unknown_type $name
|
||||||
|
* @return unknown
|
||||||
|
*/
|
||||||
function make_clean_css ($path, $name)
|
function make_clean_css ($path, $name)
|
||||||
{
|
{
|
||||||
require_once(VENDORS.'csspp'.DS.'csspp.php');
|
require_once(VENDORS.'csspp'.DS.'csspp.php');
|
||||||
|
@ -19,6 +53,13 @@ function make_clean_css ($path, $name)
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
* @param unknown_type $path
|
||||||
|
* @param unknown_type $content
|
||||||
|
* @return unknown
|
||||||
|
*/
|
||||||
function write_css_cache ($path, $content)
|
function write_css_cache ($path, $content)
|
||||||
{
|
{
|
||||||
if (!is_dir(dirname($path)))
|
if (!is_dir(dirname($path)))
|
||||||
|
|
|
@ -39,11 +39,19 @@ session_start();
|
||||||
*/
|
*/
|
||||||
if (!defined('DS'))
|
if (!defined('DS'))
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('DS', DIRECTORY_SEPARATOR);
|
define('DS', DIRECTORY_SEPARATOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined('ROOT'))
|
if (!defined('ROOT'))
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('ROOT', dirname(dirname(__FILE__)).DS);
|
define('ROOT', dirname(dirname(__FILE__)).DS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue