Permalink
Browse files

Transitioning the Lithium core to its own independent repository.

  • Loading branch information...
1 parent ea0abeb commit 43d3fe2c91984ba09a30eb7cba14cc55330cb7fb @nateabele nateabele committed Jun 7, 2011
Showing with 12 additions and 2,160 deletions.
  1. 0 {libraries/lithium → }/LICENSE.txt
  2. 0 {libraries/lithium → }/action/Controller.php
  3. 0 {libraries/lithium → }/action/DispatchException.php
  4. 0 {libraries/lithium → }/action/Dispatcher.php
  5. 0 {libraries/lithium → }/action/Request.php
  6. 0 {libraries/lithium → }/action/Response.php
  7. 0 {libraries/lithium → }/action/readme.wiki
  8. 0 {libraries/lithium → }/analysis/Debugger.php
  9. 0 {libraries/lithium → }/analysis/Docblock.php
  10. 0 {libraries/lithium → }/analysis/Inspector.php
  11. 0 {libraries/lithium → }/analysis/Logger.php
  12. 0 {libraries/lithium → }/analysis/Parser.php
  13. 0 {libraries/lithium → }/analysis/logger/adapter/Cache.php
  14. 0 {libraries/lithium → }/analysis/logger/adapter/File.php
  15. 0 {libraries/lithium → }/analysis/logger/adapter/FirePhp.php
  16. 0 {libraries/lithium → }/analysis/logger/adapter/Growl.php
  17. 0 {libraries/lithium → }/analysis/logger/adapter/Syslog.php
  18. +0 −5 app/.htaccess
  19. +0 −84 app/config/bootstrap.php
  20. +0 −55 app/config/bootstrap/action.php
  21. +0 −62 app/config/bootstrap/cache.php
  22. +0 −71 app/config/bootstrap/connections.php
  23. +0 −19 app/config/bootstrap/console.php
  24. +0 −28 app/config/bootstrap/errors.php
  25. +0 −140 app/config/bootstrap/g11n.php
  26. +0 −125 app/config/bootstrap/libraries.php
  27. +0 −59 app/config/bootstrap/media.php
  28. +0 −48 app/config/bootstrap/session.php
  29. +0 −84 app/config/routes.php
  30. +0 −20 app/controllers/HelloWorldController.php
  31. +0 −34 app/controllers/PagesController.php
  32. 0 app/extensions/adapter/empty
  33. 0 app/extensions/command/empty
  34. 0 app/extensions/data/source/empty
  35. 0 app/extensions/helper/empty
  36. 0 app/libraries/_source/empty
  37. 0 app/models/empty
  38. 0 app/resources/g11n/empty
  39. 0 app/resources/tmp/cache/templates/empty
  40. 0 app/resources/tmp/logs/empty
  41. 0 app/resources/tmp/tests/empty
  42. 0 app/tests/cases/controllers/empty
  43. 0 app/tests/cases/extensions/adapter/empty
  44. 0 app/tests/cases/extensions/command/empty
  45. +0 −1 app/tests/cases/extensions/data/source/empty
  46. 0 app/tests/cases/extensions/helper/empty
  47. 0 app/tests/cases/models/empty
  48. 0 app/tests/functional/empty
  49. 0 app/tests/integration/empty
  50. 0 app/tests/mocks/empty
  51. +0 −108 app/views/_errors/development.html.php
  52. 0 app/views/elements/empty
  53. +0 −1 app/views/hello_world/index.html.php
  54. +0 −31 app/views/layouts/default.html.php
  55. +0 −46 app/views/layouts/error.html.php
  56. +0 −181 app/views/pages/home.html.php
  57. +0 −7 app/webroot/.htaccess
  58. +0 −610 app/webroot/css/debug.css
  59. +0 −294 app/webroot/css/lithium.css
  60. BIN app/webroot/favicon.ico
  61. 0 app/webroot/img/empty
  62. +0 −43 app/webroot/index.php
  63. +0 −1 app/webroot/js/empty
  64. 0 {libraries/lithium → }/console/Command.php
  65. 0 {libraries/lithium → }/console/Dispatcher.php
  66. 0 {libraries/lithium → }/console/Request.php
  67. 0 {libraries/lithium → }/console/Response.php
  68. 0 {libraries/lithium → }/console/Router.php
  69. 0 {libraries/lithium → }/console/command/Create.php
  70. 0 {libraries/lithium → }/console/command/G11n.php
  71. 0 {libraries/lithium → }/console/command/Help.php
  72. 0 {libraries/lithium → }/console/command/Library.php
  73. 0 {libraries/lithium → }/console/command/Route.php
  74. 0 {libraries/lithium → }/console/command/Test.php
  75. 0 {libraries/lithium → }/console/command/create/Controller.php
  76. 0 {libraries/lithium → }/console/command/create/Mock.php
  77. 0 {libraries/lithium → }/console/command/create/Model.php
  78. 0 {libraries/lithium → }/console/command/create/Test.php
  79. 0 {libraries/lithium → }/console/command/create/View.php
  80. 0 {libraries/lithium → }/console/command/create/template/app.phar.gz
  81. 0 {libraries/lithium → }/console/command/create/template/controller.txt.php
  82. 0 {libraries/lithium → }/console/command/create/template/mock.txt.php
  83. 0 {libraries/lithium → }/console/command/create/template/model.txt.php
  84. 0 {libraries/lithium → }/console/command/create/template/plugin.phar.gz
  85. 0 {libraries/lithium → }/console/command/create/template/test.txt.php
  86. 0 {libraries/lithium → }/console/command/g11n/Extract.php
  87. 0 {libraries/lithium → }/console/li3
  88. 0 {libraries/lithium → }/console/li3.bat
  89. 0 {libraries/lithium → }/console/lithium.php
  90. 0 {libraries/lithium → }/console/readme.wiki
  91. 0 {libraries/lithium → }/core/Adaptable.php
  92. 0 {libraries/lithium → }/core/ClassNotFoundException.php
  93. 0 {libraries/lithium → }/core/ConfigException.php
  94. 0 {libraries/lithium → }/core/Environment.php
  95. 0 {libraries/lithium → }/core/ErrorHandler.php
  96. 0 {libraries/lithium → }/core/Libraries.php
  97. 0 {libraries/lithium → }/core/NetworkException.php
  98. 0 {libraries/lithium → }/core/Object.php
  99. 0 {libraries/lithium → }/core/StaticObject.php
  100. 0 {libraries/lithium → }/data/Collection.php
  101. 0 {libraries/lithium → }/data/Connections.php
  102. 0 {libraries/lithium → }/data/Entity.php
  103. 0 {libraries/lithium → }/data/Model.php
  104. 0 {libraries/lithium → }/data/Source.php
  105. 0 {libraries/lithium → }/data/collection/DocumentArray.php
  106. 0 {libraries/lithium → }/data/collection/DocumentSet.php
  107. 0 {libraries/lithium → }/data/collection/RecordSet.php
  108. 0 {libraries/lithium → }/data/entity/Document.php
  109. 0 {libraries/lithium → }/data/entity/Record.php
  110. 0 {libraries/lithium → }/data/model/Query.php
  111. 0 {libraries/lithium → }/data/model/QueryException.php
  112. 0 {libraries/lithium → }/data/model/Relationship.php
  113. 0 {libraries/lithium → }/data/source/Database.php
  114. 0 {libraries/lithium → }/data/source/Http.php
  115. 0 {libraries/lithium → }/data/source/Mock.php
  116. 0 {libraries/lithium → }/data/source/MongoDb.php
  117. +8 −2 app/views/layouts/default.xml.php → data/source/database/QueryBuilder.php
  118. 0 {libraries/lithium → }/data/source/database/Result.php
  119. 0 {libraries/lithium → }/data/source/database/adapter/MySql.php
  120. 0 {libraries/lithium → }/data/source/database/adapter/Sqlite3.php
  121. 0 {libraries/lithium → }/data/source/database/adapter/my_sql/Result.php
  122. 0 {libraries/lithium → }/data/source/database/adapter/sqlite3/Result.php
  123. +4 −1 app/index.php → data/source/database/strategy/HasManyWithLimit.php
  124. 0 {libraries/lithium → }/data/source/http/adapter/CouchDb.php
  125. 0 {libraries/lithium → }/data/source/mongo_db/Exporter.php
  126. 0 {libraries/lithium → }/data/source/mongo_db/Result.php
  127. 0 {libraries/lithium → }/g11n/Catalog.php
  128. 0 {libraries/lithium → }/g11n/Locale.php
  129. 0 {libraries/lithium → }/g11n/Message.php
  130. 0 {libraries/lithium → }/g11n/catalog/Adapter.php
  131. 0 {libraries/lithium → }/g11n/catalog/adapter/Code.php
  132. 0 {libraries/lithium → }/g11n/catalog/adapter/Gettext.php
  133. 0 {libraries/lithium → }/g11n/catalog/adapter/Memory.php
  134. 0 {libraries/lithium → }/g11n/catalog/adapter/Php.php
  135. 0 {libraries/lithium → }/g11n/resources/php/da_DK/validation/default.php
  136. 0 {libraries/lithium → }/g11n/resources/php/de/message/default.php
  137. 0 {libraries/lithium → }/g11n/resources/php/de_BE/validation/default.php
  138. 0 {libraries/lithium → }/g11n/resources/php/de_DE/validation/default.php
  139. 0 {libraries/lithium → }/g11n/resources/php/en/message/default.php
  140. 0 {libraries/lithium → }/g11n/resources/php/en_CA/validation/default.php
  141. 0 {libraries/lithium → }/g11n/resources/php/en_GB/validation/default.php
  142. 0 {libraries/lithium → }/g11n/resources/php/en_US/validation/default.php
  143. 0 {libraries/lithium → }/g11n/resources/php/fr/message/default.php
  144. 0 {libraries/lithium → }/g11n/resources/php/fr_BE/validation/default.php
  145. 0 {libraries/lithium → }/g11n/resources/php/fr_CA/validation/default.php
  146. 0 {libraries/lithium → }/g11n/resources/php/it_IT/validation/default.php
  147. 0 {libraries/lithium → }/g11n/resources/php/nl_BE/validation/default.php
  148. 0 {libraries/lithium → }/g11n/resources/php/nl_NL/validation/default.php
  149. 0 libraries/_source/empty
  150. 0 {libraries/lithium → }/net/Message.php
  151. 0 {libraries/lithium → }/net/Socket.php
  152. 0 {libraries/lithium → }/net/http/Media.php
  153. 0 {libraries/lithium → }/net/http/MediaException.php
  154. 0 {libraries/lithium → }/net/http/Message.php
  155. 0 {libraries/lithium → }/net/http/Request.php
  156. 0 {libraries/lithium → }/net/http/Response.php
  157. 0 {libraries/lithium → }/net/http/Route.php
  158. 0 {libraries/lithium → }/net/http/Router.php
  159. 0 {libraries/lithium → }/net/http/RoutingException.php
  160. 0 {libraries/lithium → }/net/http/Service.php
  161. 0 {libraries/lithium → }/net/socket/Context.php
  162. 0 {libraries/lithium → }/net/socket/Curl.php
  163. 0 {libraries/lithium → }/net/socket/Stream.php
  164. 0 {libraries/lithium → }/readme.wiki
  165. 0 {libraries/lithium → }/security/Auth.php
  166. 0 {libraries/lithium → }/security/Password.php
  167. 0 {libraries/lithium → }/security/auth/adapter/Form.php
  168. 0 {libraries/lithium → }/security/auth/adapter/Http.php
  169. 0 {libraries/lithium → }/security/validation/RequestToken.php
  170. 0 {libraries/lithium → }/storage/Cache.php
  171. 0 {libraries/lithium → }/storage/Session.php
  172. 0 {libraries/lithium → }/storage/cache/adapter/Apc.php
  173. 0 {libraries/lithium → }/storage/cache/adapter/File.php
  174. 0 {libraries/lithium → }/storage/cache/adapter/Memcache.php
  175. 0 {libraries/lithium → }/storage/cache/adapter/Memory.php
  176. 0 {libraries/lithium → }/storage/cache/adapter/Redis.php
  177. 0 {libraries/lithium → }/storage/cache/adapter/XCache.php
  178. 0 {libraries/lithium → }/storage/cache/strategy/Base64.php
  179. 0 {libraries/lithium → }/storage/cache/strategy/Json.php
  180. 0 {libraries/lithium → }/storage/cache/strategy/Serializer.php
  181. 0 {libraries/lithium → }/storage/session/adapter/Cookie.php
  182. 0 {libraries/lithium → }/storage/session/adapter/Memory.php
  183. 0 {libraries/lithium → }/storage/session/adapter/Php.php
  184. 0 {libraries/lithium → }/storage/session/strategy/Hmac.php
  185. 0 {libraries/lithium → }/storage/session/strategy/MissingSignatureException.php
  186. 0 {libraries/lithium → }/template/Helper.php
  187. 0 {libraries/lithium → }/template/TemplateException.php
  188. 0 {libraries/lithium → }/template/View.php
  189. 0 {libraries/lithium → }/template/helper/Form.php
  190. 0 {libraries/lithium → }/template/helper/Html.php
  191. 0 {libraries/lithium → }/template/helper/Security.php
  192. 0 {libraries/lithium → }/template/readme.wiki
  193. 0 {libraries/lithium → }/template/view/Compiler.php
  194. 0 {libraries/lithium → }/template/view/Renderer.php
  195. 0 {libraries/lithium → }/template/view/adapter/File.php
  196. 0 {libraries/lithium → }/template/view/adapter/Simple.php
  197. 0 {libraries/lithium → }/test/Controller.php
  198. 0 {libraries/lithium → }/test/Dispatcher.php
  199. 0 {libraries/lithium → }/test/Filter.php
  200. 0 {libraries/lithium → }/test/Group.php
  201. 0 {libraries/lithium → }/test/Integration.php
  202. 0 {libraries/lithium → }/test/Report.php
  203. 0 {libraries/lithium → }/test/Unit.php
  204. 0 {libraries/lithium → }/test/filter/Affected.php
  205. 0 {libraries/lithium → }/test/filter/Complexity.php
  206. 0 {libraries/lithium → }/test/filter/Coverage.php
  207. 0 {libraries/lithium → }/test/filter/Profiler.php
  208. 0 {libraries/lithium → }/test/templates/console/affected.json.php
  209. 0 {libraries/lithium → }/test/templates/console/affected.txt.php
  210. 0 {libraries/lithium → }/test/templates/console/complexity.json.php
  211. 0 {libraries/lithium → }/test/templates/console/complexity.txt.php
  212. 0 {libraries/lithium → }/test/templates/console/coverage.json.php
  213. 0 {libraries/lithium → }/test/templates/console/coverage.txt.php
  214. 0 {libraries/lithium → }/test/templates/console/profiler.json.php
  215. 0 {libraries/lithium → }/test/templates/console/profiler.txt.php
  216. 0 {libraries/lithium → }/test/templates/console/stats.json.php
  217. 0 {libraries/lithium → }/test/templates/console/stats.txt.php
  218. 0 {libraries/lithium → }/test/templates/html/affected.html.php
  219. 0 {libraries/lithium → }/test/templates/html/complexity.html.php
  220. 0 {libraries/lithium → }/test/templates/html/coverage.html.php
  221. 0 {libraries/lithium → }/test/templates/html/exception.html.php
  222. 0 {libraries/lithium → }/test/templates/html/fail.html.php
  223. 0 {libraries/lithium → }/test/templates/html/layout.html.php
  224. 0 {libraries/lithium → }/test/templates/html/menu.html.php
  225. 0 {libraries/lithium → }/test/templates/html/profiler.html.php
  226. 0 {libraries/lithium → }/test/templates/html/stats.html.php
  227. 0 {libraries/lithium → }/tests/cases/action/ControllerTest.php
  228. 0 {libraries/lithium → }/tests/cases/action/DispatcherTest.php
  229. 0 {libraries/lithium → }/tests/cases/action/RequestTest.php
  230. 0 {libraries/lithium → }/tests/cases/action/ResponseTest.php
  231. 0 {libraries/lithium → }/tests/cases/analysis/DebuggerTest.php
  232. 0 {libraries/lithium → }/tests/cases/analysis/DocblockTest.php
  233. 0 {libraries/lithium → }/tests/cases/analysis/InspectorTest.php
  234. 0 {libraries/lithium → }/tests/cases/analysis/LoggerTest.php
  235. 0 {libraries/lithium → }/tests/cases/analysis/ParserTest.php
  236. 0 {libraries/lithium → }/tests/cases/analysis/logger/adapter/CacheTest.php
  237. 0 {libraries/lithium → }/tests/cases/analysis/logger/adapter/FileTest.php
  238. 0 {libraries/lithium → }/tests/cases/analysis/logger/adapter/FirePhpTest.php
  239. 0 {libraries/lithium → }/tests/cases/analysis/logger/adapter/GrowlTest.php
  240. 0 {libraries/lithium → }/tests/cases/analysis/logger/adapter/SyslogTest.php
  241. 0 {libraries/lithium → }/tests/cases/console/CommandTest.php
  242. 0 {libraries/lithium → }/tests/cases/console/DispatcherTest.php
  243. 0 {libraries/lithium → }/tests/cases/console/RequestTest.php
  244. 0 {libraries/lithium → }/tests/cases/console/ResponseTest.php
  245. 0 {libraries/lithium → }/tests/cases/console/RouterTest.php
  246. 0 {libraries/lithium → }/tests/cases/console/command/CreateTest.php
  247. 0 {libraries/lithium → }/tests/cases/console/command/HelpTest.php
  248. 0 {libraries/lithium → }/tests/cases/console/command/LibraryTest.php
  249. 0 {libraries/lithium → }/tests/cases/console/command/RouteTest.php
  250. 0 {libraries/lithium → }/tests/cases/console/command/TestTest.php
  251. 0 {libraries/lithium → }/tests/cases/console/command/create/ControllerTest.php
  252. 0 {libraries/lithium → }/tests/cases/console/command/create/MockTest.php
  253. 0 {libraries/lithium → }/tests/cases/console/command/create/ModelTest.php
  254. 0 {libraries/lithium → }/tests/cases/console/command/create/TestTest.php
  255. 0 {libraries/lithium → }/tests/cases/console/command/create/ViewTest.php
  256. 0 {libraries/lithium → }/tests/cases/console/command/g11n/ExtractTest.php
  257. 0 {libraries/lithium → }/tests/cases/core/AdaptableTest.php
  258. 0 {libraries/lithium → }/tests/cases/core/EnvironmentTest.php
  259. 0 {libraries/lithium → }/tests/cases/core/ErrorHandlerTest.php
  260. 0 {libraries/lithium → }/tests/cases/core/LibrariesTest.php
  261. 0 {libraries/lithium → }/tests/cases/core/ObjectTest.php
  262. 0 {libraries/lithium → }/tests/cases/core/StaticObjectTest.php
  263. 0 {libraries/lithium → }/tests/cases/data/CollectionTest.php
  264. 0 {libraries/lithium → }/tests/cases/data/ConnectionsTest.php
  265. 0 {libraries/lithium → }/tests/cases/data/EntityTest.php
  266. 0 {libraries/lithium → }/tests/cases/data/ModelTest.php
  267. 0 {libraries/lithium → }/tests/cases/data/SourceTest.php
  268. 0 {libraries/lithium → }/tests/cases/data/collection/DocumentArrayTest.php
  269. 0 {libraries/lithium → }/tests/cases/data/collection/DocumentSetTest.php
  270. 0 {libraries/lithium → }/tests/cases/data/collection/RecordSetTest.php
  271. 0 {libraries/lithium → }/tests/cases/data/entity/DocumentTest.php
  272. 0 {libraries/lithium → }/tests/cases/data/entity/RecordTest.php
  273. 0 {libraries/lithium → }/tests/cases/data/model/QueryTest.php
  274. 0 {libraries/lithium → }/tests/cases/data/source/DatabaseTest.php
  275. 0 {libraries/lithium → }/tests/cases/data/source/HttpTest.php
  276. 0 {libraries/lithium → }/tests/cases/data/source/MongoDbTest.php
  277. 0 {libraries/lithium → }/tests/cases/data/source/database/adapter/MySqlTest.php
  278. 0 {libraries/lithium → }/tests/cases/data/source/database/adapter/Sqlite3Test.php
  279. 0 {libraries/lithium → }/tests/cases/data/source/http/adapter/CouchDbTest.php
  280. 0 {libraries/lithium → }/tests/cases/data/source/mongo_db/ExporterTest.php
  281. 0 {libraries/lithium → }/tests/cases/g11n/CatalogTest.php
  282. 0 {libraries/lithium → }/tests/cases/g11n/LocaleTest.php
  283. 0 {libraries/lithium → }/tests/cases/g11n/MessageTest.php
  284. 0 {libraries/lithium → }/tests/cases/g11n/catalog/AdapterTest.php
  285. 0 {libraries/lithium → }/tests/cases/g11n/catalog/adapter/CodeTest.php
  286. 0 {libraries/lithium → }/tests/cases/g11n/catalog/adapter/GettextTest.php
  287. 0 {libraries/lithium → }/tests/cases/g11n/catalog/adapter/PhpTest.php
  288. 0 {libraries/lithium → }/tests/cases/net/MessageTest.php
  289. 0 {libraries/lithium → }/tests/cases/net/http/MediaTest.php
  290. 0 {libraries/lithium → }/tests/cases/net/http/MessageTest.php
  291. 0 {libraries/lithium → }/tests/cases/net/http/RequestTest.php
  292. 0 {libraries/lithium → }/tests/cases/net/http/ResponseTest.php
  293. 0 {libraries/lithium → }/tests/cases/net/http/RouteTest.php
  294. 0 {libraries/lithium → }/tests/cases/net/http/RouterTest.php
  295. 0 {libraries/lithium → }/tests/cases/net/http/ServiceTest.php
  296. 0 {libraries/lithium → }/tests/cases/net/socket/ContextTest.php
  297. 0 {libraries/lithium → }/tests/cases/net/socket/CurlTest.php
  298. 0 {libraries/lithium → }/tests/cases/net/socket/StreamTest.php
  299. 0 {libraries/lithium → }/tests/cases/security/AuthTest.php
  300. 0 {libraries/lithium → }/tests/cases/security/PasswordTest.php
Sorry, we could not display the entire diff because too many files (612) changed.
View
0 libraries/lithium/LICENSE.txt → LICENSE.txt
File renamed without changes.
View
0 libraries/lithium/action/Controller.php → action/Controller.php
File renamed without changes.
View
0 ...ries/lithium/action/DispatchException.php → action/DispatchException.php
File renamed without changes.
View
0 libraries/lithium/action/Dispatcher.php → action/Dispatcher.php
File renamed without changes.
View
0 libraries/lithium/action/Request.php → action/Request.php
File renamed without changes.
View
0 libraries/lithium/action/Response.php → action/Response.php
File renamed without changes.
View
0 libraries/lithium/action/readme.wiki → action/readme.wiki
File renamed without changes.
View
0 libraries/lithium/analysis/Debugger.php → analysis/Debugger.php
File renamed without changes.
View
0 libraries/lithium/analysis/Docblock.php → analysis/Docblock.php
File renamed without changes.
View
0 libraries/lithium/analysis/Inspector.php → analysis/Inspector.php
File renamed without changes.
View
0 libraries/lithium/analysis/Logger.php → analysis/Logger.php
File renamed without changes.
View
0 libraries/lithium/analysis/Parser.php → analysis/Parser.php
File renamed without changes.
View
0 ...lithium/analysis/logger/adapter/Cache.php → analysis/logger/adapter/Cache.php
File renamed without changes.
View
0 .../lithium/analysis/logger/adapter/File.php → analysis/logger/adapter/File.php
File renamed without changes.
View
0 ...thium/analysis/logger/adapter/FirePhp.php → analysis/logger/adapter/FirePhp.php
File renamed without changes.
View
0 ...lithium/analysis/logger/adapter/Growl.php → analysis/logger/adapter/Growl.php
File renamed without changes.
View
0 ...ithium/analysis/logger/adapter/Syslog.php → analysis/logger/adapter/Syslog.php
File renamed without changes.
View
5 app/.htaccess
@@ -1,5 +0,0 @@
-<IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule ^$ webroot/ [L]
- RewriteRule (.*) webroot/$1 [L]
-</IfModule>
View
84 app/config/bootstrap.php
@@ -1,84 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This is the primary bootstrap file of your application, and is loaded immediately after the front
- * controller (`webroot/index.php`) is invoked. It includes references to other feature-specific
- * bootstrap files that you can turn on and off to configure the services needed for your
- * application.
- *
- * Besides global configuration of external application resources, these files also include
- * configuration for various classes to interact with one another, usually through _filters_.
- * Filters are Lithium's system of creating interactions between classes without tight coupling. See
- * the `Filters` class for more information.
- *
- * If you have other services that must be configured globally for the entire application, create a
- * new bootstrap file and `require` it here.
- *
- * @see lithium\util\collection\Filters
- */
-
-/**
- * The libraries file contains the loading instructions for all plugins, frameworks and other class
- * libraries used in the application, including the Lithium core, and the application itself. These
- * instructions include library names, paths to files, and any applicable class-loading rules. This
- * file also statically loads common classes to improve bootstrap performance.
- */
-require __DIR__ . '/bootstrap/libraries.php';
-
-/**
- * The error configuration allows you to use the filter system along with the advanced matching
- * rules of the `ErrorHandler` class to provide a high level of control over managing exceptions in
- * your application, with no impact on framework or application code.
- */
-// require __DIR__ . '/bootstrap/errors.php';
-
-/**
- * This file contains configurations for connecting to external caching resources, as well as
- * default caching rules for various systems within your application
- */
-require __DIR__ . '/bootstrap/cache.php';
-
-/**
- * Include this file if your application uses one or more database connections.
- */
-require __DIR__ . '/bootstrap/connections.php';
-
-/**
- * This file defines bindings between classes which are triggered during the request cycle, and
- * allow the framework to automatically configure its environmental settings. You can add your own
- * behavior and modify the dispatch cycle to suit your needs.
- */
-require __DIR__ . '/bootstrap/action.php';
-
-/**
- * This file contains configuration for session (and/or cookie) storage, and user or web service
- * authentication.
- */
-// require __DIR__ . '/bootstrap/session.php';
-
-/**
- * This file contains your application's globalization rules, including inflections,
- * transliterations, localized validation, and how localized text should be loaded. Uncomment this
- * line if you plan to globalize your site.
- */
-// require __DIR__ . '/bootstrap/g11n.php';
-
-/**
- * This file contains configurations for handling different content types within the framework,
- * including converting data to and from different formats, and handling static media assets.
- */
-// require __DIR__ . '/bootstrap/media.php';
-
-/**
- * This file configures console filters and settings, specifically output behavior and coloring.
- */
-// require __DIR__ . '/bootstrap/console.php';
-
-
-?>
View
55 app/config/bootstrap/action.php
@@ -1,55 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This file contains a series of method filters that allow you to intercept different parts of
- * Lithium's dispatch cycle. The filters below are used for on-demand loading of routing
- * configuration, and automatically configuring the correct environment in which the application
- * runs.
- *
- * For more information on in the filters system, see `lithium\util\collection\Filters`.
- *
- * @see lithium\util\collection\Filters
- */
-
-use lithium\core\Libraries;
-use lithium\net\http\Router;
-use lithium\core\Environment;
-use lithium\action\Dispatcher;
-
-/**
- * This filter intercepts the `run()` method of the `Dispatcher`, and first passes the `'request'`
- * parameter (an instance of the `Request` object) to the `Environment` class to detect which
- * environment the application is running in. Then, loads all application routes in all plugins,
- * loading the default application routes last.
- *
- * Change this code if plugin routes must be loaded in a specific order (i.e. not the same order as
- * the plugins are added in your bootstrap configuration), or if application routes must be loaded
- * first (in which case the default catch-all routes should be removed).
- *
- * If `Dispatcher::run()` is called multiple times in the course of a single request, change the
- * `include`s to `include_once`.
- *
- * @see lithium\action\Request
- * @see lithium\core\Environment
- * @see lithium\net\http\Router
- */
-Dispatcher::applyFilter('run', function($self, $params, $chain) {
- Environment::set($params['request']);
-
- foreach (array_reverse(Libraries::get()) as $name => $config) {
- if ($name === 'lithium') {
- continue;
- }
- $file = "{$config['path']}/config/routes.php";
- file_exists($file) ? include $file : null;
- }
- return $chain->next($self, $params, $chain);
-});
-
-?>
View
62 app/config/bootstrap/cache.php
@@ -1,62 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This file creates a default cache configuration using the most optimized adapter available, and
- * uses it to provide default caching for high-overhead operations.
- */
-use lithium\storage\Cache;
-use lithium\core\Libraries;
-use lithium\action\Dispatcher;
-use lithium\storage\cache\adapter\Apc;
-
-if (PHP_SAPI === 'cli') {
- return;
-}
-
-/**
- * If APC is not available and the cache directory is not writeable, bail out. This block should be
- * removed post-install, and the cache should be configured with the adapter you plan to use.
- */
-$cachePath = Libraries::get(true, 'resources') . '/tmp/cache';
-
-if (!($apcEnabled = Apc::enabled()) && !is_writable($cachePath)) {
- return;
-}
-
-/**
- * This configures the default cache, based on whether ot not APC user caching is enabled. If it is
- * not, file caching will be used. Most of this code is for getting you up and running only, and
- * should be replaced with a hard-coded configuration, based on the cache(s) you plan to use.
- */
-$default = array('adapter' => 'File', 'strategies' => array('Serializer'));
-
-if ($apcEnabled) {
- $default = array('adapter' => 'Apc');
-}
-Cache::config(compact('default'));
-
-/**
- * Caches paths for auto-loaded and service-located classes.
- */
-Dispatcher::applyFilter('run', function($self, $params, $chain) {
- $key = md5(LITHIUM_APP_PATH) . '.core.libraries';
-
- if ($cache = Cache::read('default', $key)) {
- $cache = (array) $cache + Libraries::cache();
- Libraries::cache($cache);
- }
- $result = $chain->next($self, $params, $chain);
-
- if ($cache != Libraries::cache()) {
- Cache::write('default', $key, Libraries::cache(), '+1 day');
- }
- return $result;
-});
-
-?>
View
71 app/config/bootstrap/connections.php
@@ -1,71 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * ### Configuring backend database connections
- *
- * Lithium supports a wide variety relational and non-relational databases, and is designed to allow
- * and encourage you to take advantage of multiple database technologies, choosing the most optimal
- * one for each task.
- *
- * As with other `Adaptable`-based configurations, each database configuration is defined by a name,
- * and an array of information detailing what database adapter to use, and how to connect to the
- * database server. Unlike when configuring other classes, `Connections` uses two keys to determine
- * which class to select. First is the `'type'` key, which specifies the type of backend to
- * connect to. For relational databases, the type is set to `'database'`. For HTTP-based backends,
- * like CouchDB, the type is `'http'`. Some backends have no type grouping, like MongoDB, which is
- * unique and connects via a custom PECL extension. In this case, the type is set to `'MongoDb'`,
- * and no `'adapter'` key is specified. In other cases, the `'adapter'` key identifies the unique
- * adapter of the given type, i.e. `'MySql'` for the `'database'` type, or `'CouchDb'` for the
- * `'http'` type. Note that while adapters are always specified in CamelCase form, types are
- * specified either in CamelCase form, or in underscored form, depending on whether an `'adapter'`
- * key is specified. See the examples below for more details.
- *
- * ### Multiple environments
- *
- * As with other `Adaptable` classes, `Connections` supports optionally specifying different
- * configurations per named connection, depending on the current environment. For information on
- * specifying environment-based configurations, see the `Environment` class.
- *
- * @see lithium\core\Adaptable
- * @see lithium\core\Environment
- */
-use lithium\data\Connections;
-
-/**
- * Uncomment this configuration to use MongoDB as your default database.
- */
-// Connections::add('default', array(
-// 'type' => 'MongoDb',
-// 'host' => 'localhost',
-// 'database' => 'my_app'
-// ));
-
-/**
- * Uncomment this configuration to use CouchDB as your default database.
- */
-// Connections::add('default', array(
-// 'type' => 'http',
-// 'adapter' => 'CouchDb',
-// 'host' => 'localhost',
-// 'database' => 'my_app'
-// ));
-
-/**
- * Uncomment this configuration to use MySQL as your default database.
- */
-// Connections::add('default', array(
-// 'type' => 'database',
-// 'adapter' => 'MySql',
-// 'host' => 'localhost',
-// 'login' => 'root',
-// 'password' => '',
-// 'database' => 'my_app'
-// ));
-
-?>
View
19 app/config/bootstrap/console.php
@@ -1,19 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-use lithium\console\Dispatcher;
-
-Dispatcher::applyFilter('_call', function($self, $params, $chain) {
- $params['callable']->response->styles(array(
- 'heading' => '\033[1;30;46m'
- ));
- return $chain->next($self, $params, $chain);
-});
-
-
-?>
View
28 app/config/bootstrap/errors.php
@@ -1,28 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-use lithium\core\ErrorHandler;
-use lithium\action\Response;
-use lithium\net\http\Media;
-
-ErrorHandler::apply('lithium\action\Dispatcher::run', array(), function($info, $params) {
- $response = new Response(array(
- 'request' => $params['request'],
- 'status' => $info['exception']->getCode()
- ));
-
- Media::render($response, compact('info', 'params'), array(
- 'controller' => '_errors',
- 'template' => 'development',
- 'layout' => 'error',
- 'request' => $params['request']
- ));
- return $response;
-});
-
-?>
View
140 app/config/bootstrap/g11n.php
@@ -1,140 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This bootstrap file contains class configuration for all aspects of globalizing your application,
- * including localization of text, validation rules, setting timezones and character inflections,
- * and identifying a user's locale.
- */
-use lithium\core\Libraries;
-use lithium\core\Environment;
-use lithium\g11n\Locale;
-use lithium\g11n\Catalog;
-use lithium\g11n\Message;
-use lithium\util\Inflector;
-use lithium\util\Validator;
-use lithium\net\http\Media;
-use lithium\action\Dispatcher as ActionDispatcher;
-use lithium\console\Dispatcher as ConsoleDispatcher;
-
-/**
- * Sets the default timezone used by all date/time functions.
- */
-date_default_timezone_set('UTC');
-
-/**
- * Adds globalization specific settings to the environment.
- *
- * The settings for the current locale, time zone and currency are kept as environment
- * settings. This allows for _centrally_ switching, _transparently_ setting and retrieving
- * globalization related settings.
- *
- * The environment settings are:
- *
- * - `'locale'` The effective locale.
- * - `'locales'` Application locales available mapped to names. The available locales are used
- * to negotiate he effective locale, the names can be used i.e. when displaying
- * a menu for choosing the locale to users.
- */
-$locale = 'en';
-$locales = array('en' => 'English');
-
-Environment::set('production', compact('locale', 'locales'));
-Environment::set('development', compact('locale', 'locales'));
-Environment::set('test', array('locale' => 'en', 'locales' => array('en' => 'English')));
-
-/**
- * Globalization (g11n) catalog configuration. The catalog allows for obtaining and
- * writing globalized data. Each configuration can be adjusted through the following settings:
- *
- * - `'adapter'` _string_: The name of a supported adapter. The builtin adapters are `Memory` (a
- * simple adapter good for runtime data and testing), `Php`, `Gettext`, `Cldr` (for
- * interfacing with Unicode's common locale data repository) and `Code` (used mainly for
- * extracting message templates from source code).
- *
- * - `'path'` All adapters with the exception of the `Memory` adapter require a directory
- * which holds the data.
- *
- * - `'scope'` If you plan on using scoping i.e. for accessing plugin data separately you
- * need to specify a scope for each configuration, except for those using the `Memory`,
- * `Php` or `Gettext` adapter which handle this internally.
- */
-Catalog::config(array(
- 'runtime' => array(
- 'adapter' => 'Memory'
- ),
- // 'app' => array(
- // 'adapter' => 'Gettext',
- // 'path' => Libraries::get(true, 'resources') . '/g11n'
- // ),
- 'lithium' => array(
- 'adapter' => 'Php',
- 'path' => LITHIUM_LIBRARY_PATH . '/lithium/g11n/resources/php'
- )
-) + Catalog::config());
-
-/**
- * Integration with `Inflector`.
- */
-// Inflector::rules('transliteration', Catalog::read(true, 'inflection.transliteration', 'en'));
-
-/**
- * Inflector configuration examples. If your application has custom singular or plural rules, or
- * extra non-ASCII characters to transliterate, you can configure that by uncommenting the lines
- * below.
- */
-// Inflector::rules('singular', array('rules' => array('/rata/' => '\1ratus')));
-// Inflector::rules('singular', array('irregular' => array('foo' => 'bar')));
-//
-// Inflector::rules('plural', array('rules' => array('/rata/' => '\1ratum')));
-// Inflector::rules('plural', array('irregular' => array('bar' => 'foo')));
-//
-// Inflector::rules('transliteration', array('/É|Ê/' => 'E'));
-//
-// Inflector::rules('uninflected', 'bord');
-// Inflector::rules('uninflected', array('bord', 'baird'));
-
-
-/**
- * Integration with `View`. Embeds message translation aliases into the `View`
- * class (or other content handler, if specified) when content is rendered. This
- * enables translation functions, i.e. `<?=$t("Translated content"); ?>`.
- */
-Media::applyFilter('_handle', function($self, $params, $chain) {
- $params['handler'] += array('outputFilters' => array());
- $params['handler']['outputFilters'] += Message::aliases();
- return $chain->next($self, $params, $chain);
-});
-
-/**
- * Integration with `Validator`. You can load locale dependent rules into the `Validator`
- * by specifying them manually or retrieving them with the `Catalog` class.
- */
-foreach (array('phone', 'postalCode', 'ssn') as $name) {
- Validator::add($name, Catalog::read(true, "validation.{$name}", 'en_US'));
-}
-
-/**
- * Intercepts dispatching processes in order to set the effective locale by using
- * the locale of the request or if that is not available retrieving a locale preferred
- * by the client.
- */
-$setLocale = function($self, $params, $chain) {
- $request = $params['request'];
- $controller = $chain->next($self, $params, $chain);
-
- if (!$request->locale) {
- $request->params['locale'] = Locale::preferred($request);
- }
- Environment::set(Environment::get(), array('locale' => $request->locale));
- return $controller;
-};
-ActionDispatcher::applyFilter('_callable', $setLocale);
-ConsoleDispatcher::applyFilter('_callable', $setLocale);
-
-?>
View
125 app/config/bootstrap/libraries.php
@@ -1,125 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * The libraries file is where you configure the various plugins, frameworks, and other libraries
- * to be used by your application, including your application itself. This file also defines some
- * global constants used to tell Lithium where to find your application and support libraries
- * (including Lithium itself). It uses the `Libraries` class to add configurations for the groups of
- * classes used in your app.
- *
- * In Lithium, a _library_ is any collection of classes located in a single base directory, which
- * all share the same class-to-file naming convention, and usually a common class or namespace
- * prefix. While all collections of classes are considered libraries, there are two special types of
- * libraries:
- *
- * - **Applications**: Applications are libraries which follow the organizational conventions that
- * Lithium defines for applications (see `Libraries::locate()` and `Libraries::paths()`), and
- * which also include a web-accessible document root (i.e. the `webroot/` folder), and can
- * dispatch HTTP requests (i.e. through `webroot/index.php`).
- *
- * - **Plugins**: Plugins are libraries which generally follow the same organizational conventions
- * as applications, but are designed to be used within the context of another application. They
- * _may_ include a public document root for supporting assets, but this requires a symlink from
- * `libraries/<plugin-name>/webroot` to `<app-name>/webroot/<plugin-name>` (recommended for
- * production), or a media filter to load plugin resources (see `/config/bootstrap/media.php`).
- *
- * Note that a library can be designed as both an application and a plugin, but this requires some
- * special considerations in the bootstrap process, such as removing any `require` statements, and
- * conditionally defining the constants below.
- *
- * By default, libraries are stored in the base `/libraries` directory, or in the
- * application-specific `<app-name>/libraries` directory. Libraries can be loaded from either place
- * without additional configuration, but note that if the same library is in both directories, the
- * application-specific `libraries` directory will override the global one.
- *
- * The one exception to this is the _primary_ library, which is an application configured with
- * `'default' => true` (see below); this library uses the `LITHIUM_APP_PATH` constant (also defined
- * below) as its path. Note, however, that any library can be overridden with an arbitrary path by
- * passing the `'path'` key to its configuration. See `Libraries::add()` for more options.
- *
- * @see lithium\core\Libraries
- */
-
-/**
- * This is the path to your application's directory. It contains all the sub-folders for your
- * application's classes and files. You don't need to change this unless your webroot folder is
- * stored outside of your app folder.
- */
-define('LITHIUM_APP_PATH', dirname(dirname(__DIR__)));
-
-/**
- * This is the path to the class libraries used by your application, and must contain a copy of the
- * Lithium core. By default, this directory is named `libraries`, and resides in the same
- * directory as your application. If you use the same libraries in multiple applications, you can
- * set this to a shared path on your server.
- */
-define('LITHIUM_LIBRARY_PATH', dirname(LITHIUM_APP_PATH) . '/libraries');
-
-/**
- * Locate and load Lithium core library files. Throws a fatal error if the core can't be found.
- * If your Lithium core directory is named something other than `lithium`, change the string below.
- */
-if (!include LITHIUM_LIBRARY_PATH . '/lithium/core/Libraries.php') {
- $message = "Lithium core could not be found. Check the value of LITHIUM_LIBRARY_PATH in ";
- $message .= __FILE__ . ". It should point to the directory containing your ";
- $message .= "/libraries directory.";
- throw new ErrorException($message);
-}
-
-use lithium\core\Libraries;
-
-/**
- * Optimize default request cycle by loading common classes. If you're implementing custom
- * request/response or dispatch classes, you can safely remove these. Actually, you can safely
- * remove them anyway, they're just there to give slightly you better out-of-the-box performance.
- */
-require LITHIUM_LIBRARY_PATH . '/lithium/core/Object.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/core/StaticObject.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/util/Collection.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/util/collection/Filters.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/util/Inflector.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/util/String.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/core/Adaptable.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/core/Environment.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/Message.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Message.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Media.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Request.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Response.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Route.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/net/http/Router.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Controller.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Dispatcher.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Request.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Response.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/View.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/view/Renderer.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/view/Compiler.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/view/adapter/File.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/storage/Cache.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/storage/cache/adapter/Apc.php';
-
-/**
- * Add the Lithium core library. This sets default paths and initializes the autoloader. You
- * generally should not need to override any settings.
- */
-Libraries::add('lithium');
-
-/**
- * Add the application. You can pass a `'path'` key here if this bootstrap file is outside of
- * your main application, but generally you should not need to change any settings.
- */
-Libraries::add('app', array('default' => true));
-
-/**
- * Add some plugins:
- */
-// Libraries::add('li3_docs');
-
-?>
View
59 app/config/bootstrap/media.php
@@ -1,59 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * The `Collection` class, which serves as the base class for some of Lithium's data objects
- * (`RecordSet` and `Document`) provides a way to manage data collections in a very flexible and
- * intuitive way, using closures and SPL interfaces. The `to()` method allows a `Collection` (or
- * subclass) to be converted to another format, such as an array. The `Collection` class also allows
- * other classes to be connected as handlers to convert `Collection` objects to other formats.
- *
- * The following connects the `Media` class as a format handler, which allows `Collection`s to be
- * exported to any format with a handler provided by `Media`, i.e. JSON. This enables things like
- * the following:
- * {{{
- * $posts = Post::find('all');
- * return $posts->to('json');
- * }}}
- */
-use lithium\util\Collection;
-
-Collection::formats('lithium\net\http\Media');
-
-/**
- * This filter is a convenience method which allows you to automatically route requests for static
- * assets stored within active plugins. For example, given a JavaScript file `bar.js` inside the
- * `li3_foo` plugin installed in an application, requests to `http://app/path/li3_foo/js/bar.js`
- * will be routed to `/path/to/app/libraries/plugins/li3_foo/webroot/js/bar.js` on the filesystem.
- * In production, it is recommended that you disable this filter in favor of symlinking each
- * plugin's `webroot` directory into your main application's `webroot` directory, or adding routing
- * rules in your web server's configuration.
- */
-use lithium\action\Dispatcher;
-use lithium\action\Response;
-use lithium\net\http\Media;
-
-Dispatcher::applyFilter('_callable', function($self, $params, $chain) {
- list($library, $asset) = explode('/', $params['request']->url, 2) + array("", "");
-
- if ($asset && ($path = Media::webroot($library)) && file_exists($file = "{$path}/{$asset}")) {
- return function() use ($file) {
- $info = pathinfo($file);
- $media = Media::type($info['extension']);
- $content = (array) $media['content'];
-
- return new Response(array(
- 'headers' => array('Content-type' => reset($content)),
- 'body' => file_get_contents($file)
- ));
- };
- }
- return $chain->next($self, $params, $chain);
-});
-
-?>
View
48 app/config/bootstrap/session.php
@@ -1,48 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This configures your session storage. The Cookie storage adapter must be connected first, since
- * it intercepts any writes where the `'expires'` key is set in the options array.
- */
-use lithium\storage\Session;
-
-Session::config(array(
- // 'cookie' => array('adapter' => 'Cookie'),
- 'default' => array('adapter' => 'Php')
-));
-
-/**
- * Uncomment the lines below to enable forms-based authentication. This configuration will attempt
- * to authenticate users against a `Users` model. In a controller, run
- * `Auth::check('default', $this->request)` to authenticate a user. This will check the POST data of
- * the request (`lithium\action\Request::$data`) to see if the fields match the `'fields'` key of
- * the configuration below. If successful, it will write the data returned from `Users::first()` to
- * the session using the default session configuration.
- *
- * Once the session data is written, you can call `Auth::check('default')` to check authentication
- * status or retrieve the user's data from the session. Call `Auth::clear('default')` to remove the
- * user's authentication details from the session. This effectively logs a user out of the system.
- * To modify the form input that the adapter accepts, or how the configured model is queried, or how
- * the data is stored in the session, see the `Form` adapter API or the `Auth` API, respectively.
- *
- * @see lithium\security\auth\adapter\Form
- * @see lithium\action\Request::$data
- * @see lithium\security\Auth
- */
-// use lithium\security\Auth;
-
-// Auth::config(array(
-// 'default' => array(
-// 'adapter' => 'Form',
-// 'model' => 'Users',
-// 'fields' => array('username', 'password')
-// )
-// ));
-
-?>
View
84 app/config/routes.php
@@ -1,84 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * The routes file is where you define your URL structure, which is an important part of the
- * [information architecture](http://en.wikipedia.org/wiki/Information_architecture) of your
- * application. Here, you can use _routes_ to match up URL pattern strings to a set of parameters,
- * usually including a controller and action to dispatch matching requests to. For more information,
- * see the `Router` and `Route` classes.
- *
- * @see lithium\net\http\Router
- * @see lithium\net\http\Route
- */
-use lithium\net\http\Router;
-use lithium\core\Environment;
-
-/**
- * Here, we are connecting `'/'` (the base path) to controller called `'Pages'`,
- * its action called `view()`, and we pass a param to select the view file
- * to use (in this case, `/views/pages/home.html.php`; see `app\controllers\PagesController`
- * for details).
- *
- * @see app\controllers\PagesController
- */
-Router::connect('/', 'Pages::view');
-
-/**
- * Connect the rest of `PagesController`'s URLs. This will route URLs like `/pages/about` to
- * `PagesController`, rendering `/views/pages/about.html.php` as a static page.
- */
-Router::connect('/pages/{:args}', 'Pages::view');
-
-/**
- * Add the testing routes. These routes are only connected in non-production environments, and allow
- * browser-based access to the test suite for running unit and integration tests for the Lithium
- * core, as well as your own application and any other loaded plugins or frameworks. Browse to
- * [http://path/to/app/test](/test) to run tests.
- */
-if (!Environment::is('production')) {
- Router::connect('/test/{:args}', array('controller' => 'lithium\test\Controller'));
- Router::connect('/test', array('controller' => 'lithium\test\Controller'));
-}
-
-/**
- * ### Database object routes
- *
- * The routes below are used primarily for accessing database objects, where `{:id}` corresponds to
- * the primary key of the database object, and can be accessed in the controller as
- * `$this->request->id`.
- *
- * If you're using a relational database, such as MySQL, SQLite or Postgres, where the primary key
- * is an integer, uncomment the routes below to enable URLs like `/posts/edit/1138`,
- * `/posts/view/1138.json`, etc.
- */
-// Router::connect('/{:controller}/{:action}/{:id:\d+}.{:type}', array('id' => null));
-// Router::connect('/{:controller}/{:action}/{:id:\d+}');
-
-/**
- * If you're using a document-oriented database, such as CouchDB or MongoDB, or another type of
- * database which uses 24-character hexidecimal values as primary keys, uncomment the routes below.
- */
-// Router::connect('/{:controller}/{:action}/{:id:[0-9a-f]{24}}.{:type}', array('id' => null));
-// Router::connect('/{:controller}/{:action}/{:id:[0-9a-f]{24}}');
-
-/**
- * Finally, connect the default route. This route acts as a catch-all, intercepting requests in the
- * following forms:
- *
- * - `/foo/bar`: Routes to `FooController::bar()` with no parameters passed.
- * - `/foo/bar/param1/param2`: Routes to `FooController::bar('param1, 'param2')`.
- * - `/foo`: Routes to `FooController::index()`, since `'index'` is assumed to be the action if none
- * is otherwise specified.
- *
- * In almost all cases, custom routes should be added above this one, since route-matching works in
- * a top-down fashion.
- */
-Router::connect('/{:controller}/{:action}/{:args}');
-
-?>
View
20 app/controllers/HelloWorldController.php
@@ -1,20 +0,0 @@
-<?php
-
-namespace app\controllers;
-
-class HelloWorldController extends \lithium\action\Controller {
-
- public function index() {
- return $this->render(array('layout' => false));
- }
-
- public function to_string() {
- return "Hello World";
- }
-
- public function to_json() {
- return $this->render(array('json' => 'Hello World'));
- }
-}
-
-?>
View
34 app/controllers/PagesController.php
@@ -1,34 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-namespace app\controllers;
-
-/**
- * This controller is used for serving static pages by name, which are located in the `/views/pages`
- * folder.
- *
- * A Lithium application's default routing provides for automatically routing and rendering
- * static pages using this controller. The default route (`/`) will render the `home` template, as
- * specified in the `view()` action.
- *
- * Additionally, any other static templates in `/views/pages` can be called by name in the URL. For
- * example, browsing to `/pages/about` will render `/views/pages/about.html.php`, if it exists.
- *
- * Templates can be nested within directories as well, which will automatically be accounted for.
- * For example, browsing to `/pages/about/company` will render
- * `/views/pages/about/company.html.php`.
- */
-class PagesController extends \lithium\action\Controller {
-
- public function view() {
- $path = func_get_args() ?: array('home');
- return $this->render(array('template' => join('/', $path)));
- }
-}
-
-?>
View
0 app/extensions/adapter/empty
No changes.
View
0 app/extensions/command/empty
No changes.
View
0 app/extensions/data/source/empty
No changes.
View
0 app/extensions/helper/empty
No changes.
View
0 app/libraries/_source/empty
No changes.
View
0 app/models/empty
No changes.
View
0 app/resources/g11n/empty
No changes.
View
0 app/resources/tmp/cache/templates/empty
No changes.
View
0 app/resources/tmp/logs/empty
No changes.
View
0 app/resources/tmp/tests/empty
No changes.
View
0 app/tests/cases/controllers/empty
No changes.
View
0 app/tests/cases/extensions/adapter/empty
No changes.
View
0 app/tests/cases/extensions/command/empty
No changes.
View
1 app/tests/cases/extensions/data/source/empty
@@ -1 +0,0 @@
-
View
0 app/tests/cases/extensions/helper/empty
No changes.
View
0 app/tests/cases/models/empty
No changes.
View
0 app/tests/functional/empty
No changes.
View
0 app/tests/integration/empty
No changes.
View
0 app/tests/mocks/empty
No changes.
View
108 app/views/_errors/development.html.php
@@ -1,108 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-use lithium\analysis\Debugger;
-use lithium\analysis\Inspector;
-
-$exception = $info['exception'];
-$replace = array('&lt;?php', '?&gt;', '<code>', '</code>', "\n");
-$context = 5;
-
-/**
- * Set Lithium-esque colors for syntax highlighing.
- */
-ini_set('highlight.string', '#4DDB4A');
-ini_set('highlight.comment', '#D42AAE');
-ini_set('highlight.keyword', '#D42AAE');
-ini_set('highlight.default', '#3C96FF');
-ini_set('highlight.htm', '#FFFFFF');
-
-$stack = Debugger::trace(array('format' => 'array', 'trace' => $exception->getTrace()));
-
-array_unshift($stack, array(
- 'functionRef' => '[exception]',
- 'file' => $exception->getFile(),
- 'line' => $exception->getLine()
-));
-
-?>
-<h3>Exception</h3>
-
-<div class="lithium-exception-class">
- <?=get_class($exception);?>
-
- <?php if ($code = $exception->getCode()): ?>
- <span class="code">(code <?=$code; ?>)</span>
- <?php endif ?>
-</div>
-
-<div class="lithium-exception-message"><?=$exception->getMessage(); ?></div>
-
-<h3 id="source">Source</h3>
-
-<div id="sourceCode"></div>
-
-<h3>Stack Trace</h3>
-
-<div class="lithium-stack-trace">
- <ol>
- <?php foreach ($stack as $id => $frame): ?>
- <?php
- $location = "{$frame['file']}: {$frame['line']}";
- $lines = range($frame['line'] - $context, $frame['line'] + $context);
- $code = Inspector::lines($frame['file'], $lines);
- ?>
- <li>
- <tt><a href="#source" id="<?=$id; ?>" class="display-source-excerpt">
- <?=$frame['functionRef']; ?>
- </a></tt>
- <div id="sourceCode<?=$id; ?>" style="display: none;">
-
- <div class="lithium-exception-location">
- <?=$location; ?>
- </div>
-
- <div class="lithium-code-dump">
- <pre><code><?php
- foreach ($code as $num => $content):
- $numPad = str_pad($num, 3, ' ');
- $content = str_ireplace(array('<?php', '?>'), '', $content);
- $content = highlight_string("<?php {$numPad}{$content} ?>", true);
- $content = str_replace($replace, '', $content);
-
- if ($frame['line'] === $num):
- ?><span class="code-highlight"><?php
- endif;?><?php echo "{$content}\n"; ?><?php
- if ($frame['line'] === $num):
- ?></span><?php
- endif;
-
- endforeach;
- ?></code></pre>
- </div>
- </div>
- </li>
- <?php endforeach; ?>
- </ol>
-</div>
-
-<script type="text/javascript">
- window.onload = function() {
- var $ = function() { return document.getElementById.apply(document, arguments); };
- var links = document.getElementsByTagName('a');
-
- for (i = 0; i < links.length; i++) {
- if (links[i].className.indexOf('display-source-excerpt') >= 0) {
- links[i].onclick = function() {
- $('sourceCode').innerHTML = $('sourceCode' + this.id).innerHTML;
- }
- }
- }
- $('sourceCode').innerHTML = $('sourceCode0').innerHTML;
- }
-</script>
View
0 app/views/elements/empty
No changes.
View
1 app/views/hello_world/index.html.php
@@ -1 +0,0 @@
-Hello World!
View
31 app/views/layouts/default.html.php
@@ -1,31 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-?>
-<!doctype html>
-<html>
-<head>
- <?php echo $this->html->charset();?>
- <title>Application > <?php echo $this->title(); ?></title>
- <?php echo $this->html->style(array('debug', 'lithium')); ?>
- <?php echo $this->scripts(); ?>
- <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
-</head>
-<body class="app">
- <div id="container">
- <div id="header">
- <h1>Application</h1>
- <h2>
- Powered by <?php echo $this->html->link('Lithium', 'http://lithify.me/'); ?>.
- </h2>
- </div>
- <div id="content">
- <?php echo $this->content(); ?>
- </div>
- </div>
-</body>
-</html>
View
46 app/views/layouts/error.html.php
@@ -1,46 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-/**
- * This layout is used to render error pages in both development and production. It is recommended
- * that you maintain a separate, simplified layout for rendering errors that does not involve any
- * complex logic or dynamic data, which could potentially trigger recursive errors.
- */
-?>
-<!doctype html>
-<html>
-<head>
- <?php echo $this->html->charset(); ?>
- <title>Unhandled exception</title>
- <?php echo $this->html->style(array('debug', 'lithium')); ?>
- <?php echo $this->scripts(); ?>
- <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
-</head>
-<body class="app">
- <div id="container">
- <div id="header">
- <h1>An unhandled exception was thrown</h1>
- <h3>Configuration</h3>
- <p>
- This layout can be changed by modifying
- <code><?php
- echo realpath(LITHIUM_APP_PATH . '/views/layouts/error.html.php');
- ?></code>
- </p><p>
- To modify your error-handling configuration, see
- <code><?php
- echo realpath(LITHIUM_APP_PATH . '/config/bootstrap/errors.php');
- ?></code>
- </p>
- </div>
- <div id="content">
- <?php echo $this->content(); ?>
- </div>
- </div>
-</body>
-</html>
View
181 app/views/pages/home.html.php
@@ -1,181 +0,0 @@
-<?php
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-
-use lithium\core\Libraries;
-use lithium\data\Connections;
-
-$this->title('Home');
-
-$self = $this;
-
-$notify = function($status, $message, $solution = null) {
- $html = "<div class=\"test-result test-result-{$status}\">{$message}</div>";
- $html .= "<div class=\"test-result solution\">{$solution}</div>";
- return $html;
-};
-
-$support = function($classes) {
- $result = '';
-
- foreach ($classes as $class => $enabled) {
- $name = substr($class, strrpos($class, '\\') + 1);
- $url = 'http://lithify.me/docs/' . str_replace('\\', '/', $class);
- $status = $enabled ? '&#x2714;' : '&#x2718;';
- $enabled = $enabled ? ' enabled' : '';
-
- $item = "<div class=\"indicator{$enabled}\">{$status}</div>";
- $item .= "<a href=\"{$url}\">{$name}</a>";
- $result .= "<p>{$item}</p>";
- }
- return $result;
-};
-
-$checks = array(
- 'resourcesWritable' => function() use ($notify) {
- if (is_writable($path = Libraries::get(true, 'resources'))) {
- return $notify('success', 'Resources directory is writable.');
- }
- $path = str_replace(dirname(LITHIUM_APP_PATH) . '/', null, $path);
- $solution = null;
-
- if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
- $solution = 'To fix this, run the following from the command line: ';
- $solution .= "<code>$ chmod -R 0777 {$path}</code>.";
- }
- return $notify(
- 'fail',
- 'Your resource path is not writeable.',
- $solution
- );
- },
- 'database' => function() use ($notify) {
- $config = Connections::config();
-
- if (!empty($config)) {
- return $notify('success', 'Database connection/s configured.');
- }
- return $notify(
- 'notice',
- 'No database connection defined.',
- "To create a database connection:
- <ol>
- <li>Edit the file <code>config/bootstrap.php</code>.</li>
- <li>
- Uncomment the line having
- <code>require __DIR__ . '/bootstrap/connections.php';</code>.
- </li>
- <li>Edit the file <code>config/bootstrap/connections.php</code>.</li>
- </ol>"
- );
- },
- 'magicQuotes' => function() use ($notify) {
- if (get_magic_quotes_gpc() === 0) {
- return;
- }
- return $notify(
- 'fail',
- 'Magic quotes are enabled in your PHP configuration.',
- 'Please set <code>magic_quotes_gpc = Off</code> in your <code>php.ini</code> settings.'
- );
- },
- 'registerGlobals' => function() use ($notify) {
- if (!ini_get('register_globals')) {
- return;
- }
- return $notify(
- 'fail',
- 'Register globals is enabled in your PHP configuration.',
- 'Please set <code>register_globals = Off</code> in your <code>php.ini</code> settings.'
- );
- },
- 'change' => function() use ($notify, $self) {
- $template = $self->html->link('template', 'http://lithify.me/docs/lithium/template');
-
- return $notify(
- 'notice',
- "You're using the application's default home page.",
- "To change this {$template}, edit the file
- <code>views/pages/home.html.php</code>.
- To change the layout,
- (that is what's wrapping content)
- edit the file <code>views/layouts/default.html.php</code>."
- );
- },
- 'routing' => function() use ($notify, $self) {
- $routing = $self->html->link('routing', 'http://lithify.me/docs/lithium/net/http/Router');
-
- return $notify(
- 'notice',
- 'Use custom routing.',
- "To change the {$routing} edit the file <code>config/routes.php</code>."
- );
- },
- 'tests' => function() use ($notify, $self) {
- $tests = $self->html->link('run all tests', '/test/all');
- $dashboard = $self->html->link('test dashboard', '/test');
- $ticket = $self->html->link('file a ticket', 'http://dev.lithify.me/lithium/tickets');
-
- return $notify(
- 'notice',
- 'Run the tests.',
- "Check the builtin {$dashboard} or {$tests} now to ensure Lithium
- is working as expected. Do not hesitate to {$ticket} in case a test fails."
- );
- },
- 'dbSupport' => function() use ($notify, $support) {
- $paths = array('data.source', 'adapter.data.source.database', 'adapter.data.source.http');
- $list = array();
-
- foreach ($paths as $path) {
- $list = array_merge($list, Libraries::locate($path, null, array('recursive' => false)));
- }
- $list = array_filter($list, function($class) { return method_exists($class, 'enabled'); });
- $map = array_combine($list, array_map(function($c) { return $c::enabled(); }, $list));
-
- return $notify(
- 'notice',
- 'Database support',
- '<div class="test-result solution">' . $support($map) . '</div>'
- );
- },
- 'cacheSupport' => function() use ($notify, $support) {
- $list = Libraries::locate('adapter.storage.cache', null, array('recursive' => false));
- $list = array_filter($list, function($class) { return method_exists($class, 'enabled'); });
- $map = array_combine($list, array_map(function($c) { return $c::enabled(); }, $list));
-
- return $notify(
- 'notice',
- 'Cache support',
- '<div class="test-result solution">' . $support($map) . '</div>'
- );
- }
-);
-
-?>
-
-<h3>Getting Started</h3>
-<?php foreach ($checks as $check): ?>
- <?php echo $check(); ?>
-<?php endforeach; ?>
-
-<h3>Additional Resources</h3>
-<ul class="additional-resources">
- <li><?php echo $this->html->link('Documentation (Draft)', 'http://dev.lithify.me/drafts/source/en'); ?></li>
- <li><?php echo $this->html->link('API Documentation', 'http://lithify.me/docs/lithium'); ?></li>
- <li>
- Development <?php echo $this->html->link('Wiki', 'http://dev.lithify.me/lithium/wiki'); ?>
- and <?php echo $this->html->link('Timeline', 'http://dev.lithify.me/lithium/timeline'); ?>
- </li>
- <li>
- <?php echo $this->html->link('#li3 general support', 'irc://irc.freenode.net/#li3'); ?>
- and
- <?php echo $this->html->link('#li3-core core discussion', 'irc://irc.freenode.net/#li3-core'); ?>
- IRC channels
- (<?php echo $this->html->link('logs', 'http://lithify.me/bot/logs'); ?>)
- </li>
-</ul>
View
7 app/webroot/.htaccess
@@ -1,7 +0,0 @@
-<IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !favicon.ico$
- RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
-</IfModule>
View
610 app/webroot/css/debug.css
@@ -1,610 +0,0 @@
-/**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
-* {
- margin: 0;
- padding: 0;
-}
-
-body.test-dashboard {
- font-family: Helvetica, Arial, sans-serif;
- font-size: 14px;
- line-height: 1.5em;
- color: #0d0d0d;
- background-color: #fff;
- margin: 0;
- min-width: 800px;
-}
-
-body.test-dashboard a {
- color: #333;
-}
-
-body.test-dashboard #header h1 {
- margin: .25em 1% 0 0;
- float:right;
- font-weight: normal;
-}
-
-body.test-dashboard #header h1 a {
- text-decoration: none;
- display: block;
- padding: .45em 0.75em 0 0;
- color: rgba(0,0,0,.15);
-}
-
-body.test-dashboard .triangle:before {
- content: '\25B2';
- font-size: 1em;
-}
-
-body.test-dashboard #header {
- padding: 0;
-}
-
-body.test-dashboard #header:after {
- display: block;
- content: ' ';
- clear: both;
-}
-
-body.test-dashboard .article {
- clear:both;
-}
-
-body.test-dashboard .test-content {
- float:left;
- padding: 0 2% 4em;
- width: 74%;
-}
-
-.test-content h2 {
- font-weight: normal;
- font-size: 1.45em;
- margin-bottom: .5em;
- float: left;
-}
-.test-content h2 span {
- color: #bbb;
- display: block;
- font-size: .55em;
-}
-.test-content h3 {
- font-weight: normal;
- margin: 1.5em 0 1em;
-}
-
-body.test-dashboard a.test-button,
-body.test-dashboard a.test-button:link,
-body.test-dashboard a.test-button:visited,
-body.test-dashboard a.test-button:hover,
-body.test-dashboard a.test-button:active {
- display: block;
- float: right;
- font-weight: bold;
- font-size: 1.25em;
- background-color:#f5f5f5;
- border-color: #e6e6e6;
- color: #999;
- padding: .5em 1em;
- margin: 0;
- background-color: white;
- border: 1px solid #e5e5e5;
- text-decoration: none;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);
- -webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);
- box-shadow: 0 0 6px rgba(0,0,0,.1);
-}
-
-body.test-dashboard a.test-button:hover,
-body.test-dashboard a.test-button:active {
- color: black;
- background: white;
- -moz-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
- box-shadow: inset 0 0 6px rgba(0,0,0,.15);
-}
-
-body.test-dashboard ul {
- margin: .25em 0;
- padding: 0.2em 0 0 0;
-}
-
-body.test-dashboard ul ul li {
- display: block;
- margin: 0 0 1px .5em;
- padding: 0.25em 0 0 0.75em;
- border: 1px solid rgba(0,0,0,0.05);
- border-width: 0 0 0 1px;
-}
-
-body.test-dashboard .test-menu {
- float: left;
- padding: .75em 0 1em 1%;
- width: 20%;
- background: #f6f6f6;
-}
-
-.test-dashboard .test-menu > ul {
- margin-top: 0;
- padding-top: 1px;
-}
-.test-dashboard .test-menu ul li ul {
- margin-top: .1em;
-}
-.test-dashboard .test-menu li:hover {
-}
-.test-dashboard .test-menu li > ul {
- display: block;
-}
-.test-dashboard .test-menu li:hover > ul {
- display: block;
-}
-ul.menu, ul.menu ul {
- list-style: none;
-}
-ul.menu a {
- color: #666;
- text-decoration: none;
- display: block;
-}
-
-ul.menu a:hover, ul.menu a:active, ul.menu a.menu-folder:hover {
- color: black;
-}
-
-ul.menu a.menu-folder {
- color: #333;
- font-weight: bold;
- text-decoration: none;
- font-size: 1.2em;
-}
-
-
-a.test-all {
- display: block;
- float: left;
- font-size: 1.5em;
- text-align: center;
- text-decoration: none;
- padding: .75em 0;
- width: 21%;
- color: #666;
- background: #e6e6e6;
-}
-a.test-all:hover {
- background: #00a6f5;
- -moz-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
- -webkit-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
- box-shadow: inset 0 0 12px rgba(0,0,0,.25);
- color: white !important;
- text-shadow: 0px 0px 6px rgba(0,0,0,.5);
-}
-
-ul.menu a {
- display: block;
- padding: 0.1em 0;
-}
-
-ul.menu a:before, a.menu-folder:before, ul.metrics li:before {
- display: inline !important;
- float: none !important;
- padding: 0 0.5em 0 0;
- content: '\25B4';
- font-weight: normal;
- color: rgba(0,0,0,.1);
-}
-a.menu-folder:before {
- padding: 0 !important;
- content: '\25B2' !important;
-}
-ul.menu a:hover:before, a.menu-folder:hover:before, ul.metrics li:hover:before {
- color: #00A6F5;
-}
-
-/*--- Benchmarking ---*/
-table.metrics {
- border: 1px solid #e6e6e6;
-}
-table.metrics {
- border-collapse: collapse;
-}
-table.metrics th {
- padding: .5em 1em;
- color: black;
- background: #e6e6e6;
- font-weight: normal;
-}
-table.metrics th, table.metrics td {
- border-bottom: 1px solid rgba(0,0,0,.05);
-}