The Cookbook»1.2 Collection»The Manual»Developing with CakePHP»Configuration»The Configuration Class»Configuration Constants
{279} - 3.4.3.3 Configuration Constants
While most configuration options are handled by Configure, there are a few constants that CakePHP uses during runtime.
| Constant | Description |
|---|---|
| COMPRESS_CSS | If set to true, CSS style sheets are compressed on output. This requires a /var/cache directory writable by the webserver. To use, reference your style sheets using /ccss (rather than /css) or use Controller::cssTag(). |
| LOG_ERROR | Error constant. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. |
{367} - 3.4.3.3 Configuration Constants
While most configuration options are handled by Configure, there are a few constants that CakePHP uses during runtime.
| Constant | Description |
|---|---|
| LOG_ERROR | Error constant. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. |
Differences
| Lines: 9-24 | Lines: 9-16 | ||
| </th> | </th> | ||
| <th> | <th> | ||
| Description | Description | ||
| </th> | </th> | ||
| - | </tr> | ||
| - | <tr> | ||
| - | <td> | ||
| - | COMPRESS_CSS | ||
| - | </td> | ||
| - | <td> | ||
| - | If set to true, CSS style sheets are compressed on output. This requires a /var/cache directory writable by the webserver. To use, reference your style sheets using /ccss (rather than /css) or use Controller::cssTag(). | ||
| - | </td> | ||
| </tr> | </tr> | ||
| <tr> | <tr> | ||
| <td> | <td> | ||
| LOG_ERROR | LOG_ERROR | ||
| Lines: 27-31 | Lines: 19-22 | ||
| Error constant. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. | Error constant. Used for differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. | ||
| </td> | </td> | ||
| </tr> | </tr> | ||
| </table> | </table> | ||
