Common
| Chyrp | A Lightweight Blogging Engine |
Version
v2.0
License
MIT
Chyrp Copyright
Copyright © 2010
- Alex Suraci, http://toogeneric.com/
- Arian Xhezairi, http://xhezairi.com/
Summary
| Common | v2.0 |
| Constants | |
| CHYRP_VERSION | Chyrp’s version number. |
| DEBUG | Should Chyrp use debugging processes? |
| CACHE_TWIG | If defined, this will take priority over DEBUG and toggle Twig template caching. Do not enable this during theme development. |
| JAVASCRIPT | Is this the JavaScript file? |
| ADMIN | Is the user in the admin area? |
| AJAX | Is this being run from an AJAX request? |
| XML_RPC | Is this being run from XML-RPC? |
| TRACKBACK | Is this being run from a trackback request? |
| UPGRADING | Is the user running the upgrader? (false) |
| INSTALLING | Is the user running the installer? (false) |
| TESTER | Is the site being run by the automated tester? |
| INDEX | Is the requested file /index.php? |
| MAIN_DIR | Absolute path to the Chyrp root |
| INCLUDES_DIR | Absolute path to /includes |
| MODULES_DIR | Absolute path to /modules |
| FEATHERS_DIR | Absolute path to /feathers |
| THEMES_DIR | Absolute path to /themes |
| Files | |
| Helpers | Various functions used throughout Chyrp’s code. |
| Gettext | Gettext library. |
| Streams | Streams library. |
| YAML | Horde YAML parsing library. |
| PasswordHash | Secure hashing of user passwords |
| Config | Config |
| SQL | SQL |
| Model | Model |
| User | User |
| Visitor | Visitor |
| Post | Post |
| Page | Page |
| Group | Group |
| Session | Session |
| Flash | Flash |
| Theme | Theme |
| Trigger | Trigger |
| Module | Module |
| Feathers | Feathers |
| Paginator | Paginator |
| Twig | Chyrp’s templating engine. |
| Route | Route |
| Main | Main Controller |
| Admin | Admin Controller |
| Feather | Feather |
| Constants | |
| PREVIEWING | Is the user previewing a theme? |
| THEME_DIR | Absolute path to /themes/(current/previewed theme) |
| THEME_URL | URL to /themes/(current/previewed theme) |