Skip to content
This repository
Browse code

Unify the style of the JPATH_PLATFORM check.

  • Loading branch information...
commit fc5a10c569b2707f9bdca7d17fba6159c8106f9f 1 parent 95cc49c
Rouven Weßling realityking authored

Showing 226 changed files with 227 additions and 227 deletions. Show diff stats Hide diff stats

  1. +2 2 libraries/import.php
  2. +1 1  libraries/joomla/access/access.php
  3. +1 1  libraries/joomla/access/rule.php
  4. +1 1  libraries/joomla/access/rules.php
  5. +1 1  libraries/joomla/application/application.php
  6. +1 1  libraries/joomla/application/applicationexception.php
  7. +1 1  libraries/joomla/application/categories.php
  8. +1 1  libraries/joomla/application/cli.php
  9. +1 1  libraries/joomla/application/cli/daemon.php
  10. +1 1  libraries/joomla/application/component/controller.php
  11. +1 1  libraries/joomla/application/component/controlleradmin.php
  12. +1 1  libraries/joomla/application/component/controllerform.php
  13. +1 1  libraries/joomla/application/component/helper.php
  14. +1 1  libraries/joomla/application/component/model.php
  15. +1 1  libraries/joomla/application/component/modeladmin.php
  16. +1 1  libraries/joomla/application/component/modelform.php
  17. +1 1  libraries/joomla/application/component/modelitem.php
  18. +1 1  libraries/joomla/application/component/modellist.php
  19. +1 1  libraries/joomla/application/component/view.php
  20. +1 1  libraries/joomla/application/helper.php
  21. +1 1  libraries/joomla/application/input.php
  22. +1 1  libraries/joomla/application/input/cli.php
  23. +1 1  libraries/joomla/application/input/cookie.php
  24. +1 1  libraries/joomla/application/input/files.php
  25. +1 1  libraries/joomla/application/menu.php
  26. +1 1  libraries/joomla/application/module/helper.php
  27. +1 1  libraries/joomla/application/pathway.php
  28. +1 1  libraries/joomla/application/router.php
  29. +1 1  libraries/joomla/application/web.php
  30. +1 1  libraries/joomla/application/web/webclient.php
  31. +1 1  libraries/joomla/base/adapter.php
  32. +1 1  libraries/joomla/base/adapterinstance.php
  33. +1 1  libraries/joomla/base/node.php
  34. +1 1  libraries/joomla/base/object.php
  35. +1 1  libraries/joomla/base/observable.php
  36. +1 1  libraries/joomla/base/observer.php
  37. +1 1  libraries/joomla/base/tree.php
  38. +1 1  libraries/joomla/cache/cache.php
  39. +1 1  libraries/joomla/cache/controller.php
  40. +1 1  libraries/joomla/cache/controller/callback.php
  41. +1 1  libraries/joomla/cache/controller/output.php
  42. +1 1  libraries/joomla/cache/controller/page.php
  43. +1 1  libraries/joomla/cache/controller/view.php
  44. +1 1  libraries/joomla/cache/storage.php
  45. +1 1  libraries/joomla/cache/storage/apc.php
  46. +1 1  libraries/joomla/cache/storage/cachelite.php
  47. +1 1  libraries/joomla/cache/storage/eaccelerator.php
  48. +1 1  libraries/joomla/cache/storage/file.php
  49. +1 1  libraries/joomla/cache/storage/helpers/helper.php
  50. +1 1  libraries/joomla/cache/storage/memcache.php
  51. +1 1  libraries/joomla/cache/storage/wincache.php
  52. +1 1  libraries/joomla/cache/storage/xcache.php
  53. +1 1  libraries/joomla/client/ftp.php
  54. +1 1  libraries/joomla/client/helper.php
  55. +1 1  libraries/joomla/client/ldap.php
  56. +1 1  libraries/joomla/database/database.php
  57. +1 1  libraries/joomla/database/database/mysql.php
  58. +1 1  libraries/joomla/database/database/mysqlexporter.php
  59. +1 1  libraries/joomla/database/database/mysqli.php
  60. +1 1  libraries/joomla/database/database/mysqliimporter.php
  61. +1 1  libraries/joomla/database/database/mysqlimporter.php
  62. +1 1  libraries/joomla/database/database/mysqliquery.php
  63. +1 1  libraries/joomla/database/database/mysqlquery.php
  64. +1 1  libraries/joomla/database/database/sqlazure.php
  65. +1 1  libraries/joomla/database/database/sqlazurequery.php
  66. +1 1  libraries/joomla/database/database/sqlsrv.php
  67. +1 1  libraries/joomla/database/database/sqlsrvquery.php
  68. +1 1  libraries/joomla/database/databaseexception.php
  69. +1 1  libraries/joomla/database/databasequery.php
  70. +1 1  libraries/joomla/database/table.php
  71. +1 1  libraries/joomla/database/table/asset.php
  72. +1 1  libraries/joomla/database/table/category.php
  73. +1 1  libraries/joomla/database/table/content.php
  74. +1 1  libraries/joomla/database/table/extension.php
  75. +1 1  libraries/joomla/database/table/language.php
  76. +1 1  libraries/joomla/database/table/menu.php
  77. +1 1  libraries/joomla/database/table/menutype.php
  78. +1 1  libraries/joomla/database/table/module.php
  79. +1 1  libraries/joomla/database/table/session.php
  80. +1 1  libraries/joomla/database/table/update.php
  81. +1 1  libraries/joomla/database/table/user.php
  82. +1 1  libraries/joomla/database/table/usergroup.php
  83. +1 1  libraries/joomla/database/table/viewlevel.php
  84. +1 1  libraries/joomla/database/tablenested.php
  85. +1 1  libraries/joomla/document/document.php
  86. +1 1  libraries/joomla/document/error/error.php
  87. +1 1  libraries/joomla/document/feed/feed.php
  88. +1 1  libraries/joomla/document/feed/renderer/atom.php
  89. +1 1  libraries/joomla/document/feed/renderer/rss.php
  90. +1 1  libraries/joomla/document/html/html.php
  91. +1 1  libraries/joomla/document/html/renderer/component.php
  92. +1 1  libraries/joomla/document/html/renderer/head.php
  93. +1 1  libraries/joomla/document/html/renderer/message.php
  94. +1 1  libraries/joomla/document/html/renderer/module.php
  95. +1 1  libraries/joomla/document/html/renderer/modules.php
  96. +1 1  libraries/joomla/document/json/json.php
  97. +1 1  libraries/joomla/document/raw/raw.php
  98. +1 1  libraries/joomla/document/xml/xml.php
  99. +1 1  libraries/joomla/environment/browser.php
  100. +1 1  libraries/joomla/environment/request.php
  101. +1 1  libraries/joomla/environment/response.php
  102. +1 1  libraries/joomla/environment/uri.php
  103. +1 1  libraries/joomla/error/error.php
  104. +1 1  libraries/joomla/error/exception.php
  105. +1 1  libraries/joomla/error/log.php
  106. +1 1  libraries/joomla/error/profiler.php
  107. +1 1  libraries/joomla/event/dispatcher.php
  108. +1 1  libraries/joomla/event/event.php
  109. +1 1  libraries/joomla/filesystem/archive.php
  110. +1 1  libraries/joomla/filesystem/archive/bzip2.php
  111. +1 1  libraries/joomla/filesystem/archive/gzip.php
  112. +1 1  libraries/joomla/filesystem/archive/tar.php
  113. +1 1  libraries/joomla/filesystem/archive/zip.php
  114. +1 1  libraries/joomla/filesystem/file.php
  115. +1 1  libraries/joomla/filesystem/folder.php
  116. +1 1  libraries/joomla/filesystem/helper.php
  117. +1 1  libraries/joomla/filesystem/path.php
  118. +1 1  libraries/joomla/filesystem/stream.php
  119. +1 1  libraries/joomla/filesystem/streams/string.php
  120. +1 1  libraries/joomla/filesystem/support/stringcontroller.php
  121. +1 1  libraries/joomla/filter/filterinput.php
  122. +1 1  libraries/joomla/filter/filteroutput.php
  123. +1 1  libraries/joomla/form/fields/accesslevel.php
  124. +1 1  libraries/joomla/form/fields/cachehandler.php
  125. +1 1  libraries/joomla/form/fields/calendar.php
  126. +1 1  libraries/joomla/form/fields/category.php
  127. +1 1  libraries/joomla/form/fields/checkbox.php
  128. +1 1  libraries/joomla/form/fields/checkboxes.php
  129. +1 1  libraries/joomla/form/fields/color.php
  130. +1 1  libraries/joomla/form/fields/combo.php
  131. +1 1  libraries/joomla/form/fields/componentlayout.php
  132. +1 1  libraries/joomla/form/fields/contentlanguage.php
  133. +1 1  libraries/joomla/form/fields/databaseconnection.php
  134. +1 1  libraries/joomla/form/fields/editor.php
  135. +1 1  libraries/joomla/form/fields/editors.php
  136. +1 1  libraries/joomla/form/fields/email.php
  137. +1 1  libraries/joomla/form/fields/file.php
  138. +1 1  libraries/joomla/form/fields/filelist.php
  139. +1 1  libraries/joomla/form/fields/folderlist.php
  140. +1 1  libraries/joomla/form/fields/groupedlist.php
  141. +1 1  libraries/joomla/form/fields/helpsite.php
  142. +1 1  libraries/joomla/form/fields/hidden.php
  143. +1 1  libraries/joomla/form/fields/imagelist.php
  144. +1 1  libraries/joomla/form/fields/integer.php
  145. +1 1  libraries/joomla/form/fields/language.php
  146. +1 1  libraries/joomla/form/fields/list.php
  147. +1 1  libraries/joomla/form/fields/media.php
  148. +1 1  libraries/joomla/form/fields/menu.php
  149. +1 1  libraries/joomla/form/fields/menuitem.php
  150. +1 1  libraries/joomla/form/fields/modulelayout.php
  151. +1 1  libraries/joomla/form/fields/password.php
  152. +1 1  libraries/joomla/form/fields/radio.php
  153. +1 1  libraries/joomla/form/fields/rules.php
  154. +1 1  libraries/joomla/form/fields/sessionhandler.php
  155. +1 1  libraries/joomla/form/fields/spacer.php
  156. +1 1  libraries/joomla/form/fields/sql.php
  157. +1 1  libraries/joomla/form/fields/tel.php
  158. +1 1  libraries/joomla/form/fields/templatestyle.php
  159. +1 1  libraries/joomla/form/fields/text.php
  160. +1 1  libraries/joomla/form/fields/textarea.php
  161. +1 1  libraries/joomla/form/fields/timezone.php
  162. +1 1  libraries/joomla/form/fields/url.php
  163. +1 1  libraries/joomla/form/fields/user.php
  164. +1 1  libraries/joomla/form/fields/usergroup.php
  165. +1 1  libraries/joomla/form/form.php
  166. +1 1  libraries/joomla/form/formfield.php
  167. +1 1  libraries/joomla/form/formrule.php
  168. +1 1  libraries/joomla/form/helper.php
  169. +1 1  libraries/joomla/installer/adapters/component.php
  170. +1 1  libraries/joomla/installer/adapters/file.php
  171. +1 1  libraries/joomla/installer/adapters/language.php
  172. +1 1  libraries/joomla/installer/adapters/library.php
  173. +1 1  libraries/joomla/installer/adapters/module.php
  174. +1 1  libraries/joomla/installer/adapters/package.php
  175. +1 1  libraries/joomla/installer/adapters/plugin.php
  176. +1 1  libraries/joomla/installer/adapters/template.php
  177. +1 1  libraries/joomla/installer/extension.php
  178. +1 1  libraries/joomla/installer/helper.php
  179. +1 1  libraries/joomla/installer/installer.php
  180. +1 1  libraries/joomla/installer/librarymanifest.php
  181. +1 1  libraries/joomla/installer/packagemanifest.php
  182. +1 1  libraries/joomla/language/help.php
  183. +1 1  libraries/joomla/language/helper.php
  184. +1 1  libraries/joomla/language/language.php
  185. +1 1  libraries/joomla/language/latin_transliterate.php
  186. +1 1  libraries/joomla/log/log.php
  187. +1 1  libraries/joomla/log/logentry.php
  188. +1 1  libraries/joomla/log/logexception.php
  189. +1 1  libraries/joomla/log/logger.php
  190. +1 1  libraries/joomla/log/loggers/database.php
  191. +1 1  libraries/joomla/log/loggers/echo.php
  192. +1 1  libraries/joomla/log/loggers/formattedtext.php
  193. +1 1  libraries/joomla/log/loggers/messagequeue.php
  194. +1 1  libraries/joomla/log/loggers/syslog.php
  195. +1 1  libraries/joomla/log/loggers/w3c.php
  196. +1 1  libraries/joomla/mail/helper.php
  197. +1 1  libraries/joomla/mail/mail.php
  198. +1 1  libraries/joomla/media/filters/brightness.php
  199. +1 1  libraries/joomla/media/filters/contrast.php
  200. +1 1  libraries/joomla/media/filters/edgedetect.php
  201. +1 1  libraries/joomla/media/filters/emboss.php
  202. +1 1  libraries/joomla/media/filters/grayscale.php
  203. +1 1  libraries/joomla/media/filters/negate.php
  204. +1 1  libraries/joomla/media/filters/sketchy.php
  205. +1 1  libraries/joomla/media/filters/smooth.php
  206. +1 1  libraries/joomla/media/image.php
  207. +1 1  libraries/joomla/media/imagefilter.php
  208. +1 1  libraries/joomla/plugin/helper.php
  209. +1 1  libraries/joomla/plugin/plugin.php
  210. +1 1  libraries/joomla/registry/format.php
  211. +1 1  libraries/joomla/registry/format/ini.php
  212. +1 1  libraries/joomla/registry/format/json.php
  213. +1 1  libraries/joomla/registry/format/php.php
  214. +1 1  libraries/joomla/registry/format/xml.php
  215. +1 1  libraries/joomla/registry/registry.php
  216. +1 1  libraries/joomla/session/session.php
  217. +1 1  libraries/joomla/session/storage.php
  218. +1 1  libraries/joomla/session/storage/apc.php
  219. +1 1  libraries/joomla/session/storage/database.php
  220. +1 1  libraries/joomla/session/storage/eaccelerator.php
  221. +1 1  libraries/joomla/session/storage/memcache.php
  222. +1 1  libraries/joomla/session/storage/none.php
  223. +1 1  libraries/joomla/session/storage/wincache.php
  224. +1 1  libraries/joomla/session/storage/xcache.php
  225. +1 1  libraries/joomla/string/stringnormalize.php
  226. +1 1  libraries/phpmailer/language/phpmailer.lang-joomla.php
4 libraries/import.php
@@ -6,8 +6,6 @@
6 6 * @license GNU General Public License version 2 or later; see LICENSE
7 7 */
8 8
9   -defined('_JEXEC') or die;
10   -
11 9 // Set the platform root path as a constant if necessary.
12 10 if (!defined('JPATH_PLATFORM'))
13 11 {
@@ -47,6 +45,8 @@
47 45 require_once JPATH_PLATFORM . '/loader.php';
48 46 }
49 47
  48 +class_exists('JLoader') or die;
  49 +
50 50 // Setup the autoloaders.
51 51 JLoader::setup();
52 52
2  libraries/joomla/access/access.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.access.rules');
13 13 jimport('joomla.utilities.arrayhelper');
2  libraries/joomla/access/rule.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * JRule class.
2  libraries/joomla/access/rules.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.access.rule');
13 13
2  libraries/joomla/application/application.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.input');
13 13 jimport('joomla.event.dispatcher');
2  libraries/joomla/application/applicationexception.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Exception class definition for the Application subpackage.
2  libraries/joomla/application/categories.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * JCategories Class.
2  libraries/joomla/application/cli.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.applicationexception');
13 13 jimport('joomla.application.input');
2  libraries/joomla/application/cli/daemon.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.cli');
13 13 jimport('joomla.application.applicationexception');
2  libraries/joomla/application/component/controller.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Base class for a Joomla Controller
2  libraries/joomla/application/component/controlleradmin.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.controller');
13 13
2  libraries/joomla/application/component/controllerform.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.controller');
13 13
2  libraries/joomla/application/component/helper.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Component helper class
2  libraries/joomla/application/component/model.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Base class for a Joomla Model
2  libraries/joomla/application/component/modeladmin.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.modelform');
13 13
2  libraries/joomla/application/component/modelform.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.model');
13 13 jimport('joomla.form.form');
2  libraries/joomla/application/component/modelitem.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.model');
13 13
2  libraries/joomla/application/component/modellist.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.model');
13 13
2  libraries/joomla/application/component/view.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Base class for a Joomla View
2  libraries/joomla/application/helper.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Application helper functions
2  libraries/joomla/application/input.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 JLoader::discover('JInput', dirname(__FILE__) . '/input');
13 13
2  libraries/joomla/application/input/cli.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.input');
13 13
2  libraries/joomla/application/input/cookie.php
@@ -7,7 +7,7 @@
2  libraries/joomla/application/input/files.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.input');
13 13
2  libraries/joomla/application/menu.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * JMenu class
2  libraries/joomla/application/module/helper.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.component.helper');
13 13
2  libraries/joomla/application/pathway.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Class to maintain a pathway.
2  libraries/joomla/application/router.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Set the available masks for the routing mode
2  libraries/joomla/application/web.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.application.applicationexception');
13 13 jimport('joomla.application.input');
2  libraries/joomla/application/web/webclient.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Class to model a Web Client.
2  libraries/joomla/base/adapter.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.filesystem.file');
13 13 jimport('joomla.filesystem.folder');
2  libraries/joomla/base/adapterinstance.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Adapter Instance Class
2  libraries/joomla/base/node.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Tree Node Class.
2  libraries/joomla/base/object.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Base object class.
2  libraries/joomla/base/observable.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Abstract observable class to implement the observer design pattern
2  libraries/joomla/base/observer.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Abstract observer class to implement the observer design pattern
2  libraries/joomla/base/tree.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.base.node');
13 13
2  libraries/joomla/cache/cache.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 //Register the storage class with the loader
13 13 JLoader::register('JCacheStorage', dirname(__FILE__) . '/storage.php');
2  libraries/joomla/cache/controller.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Public cache handler
2  libraries/joomla/cache/controller/callback.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.cache.controller');
13 13
2  libraries/joomla/cache/controller/output.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Joomla Cache output type object
2  libraries/joomla/cache/controller/page.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Joomla! Cache page type object
2  libraries/joomla/cache/controller/view.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Joomla! Cache view type object
2  libraries/joomla/cache/storage.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Abstract cache storage handler
2  libraries/joomla/cache/storage/apc.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * APC cache storage handler
2  libraries/joomla/cache/storage/cachelite.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Cache lite storage handler
2  libraries/joomla/cache/storage/eaccelerator.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * eAccelerator cache storage handler
2  libraries/joomla/cache/storage/file.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.filesystem.file');
13 13
2  libraries/joomla/cache/storage/helpers/helper.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Cache storage helper functions.
2  libraries/joomla/cache/storage/memcache.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Memcache cache storage handler
2  libraries/joomla/cache/storage/wincache.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * WINCACHE cache storage handler
2  libraries/joomla/cache/storage/xcache.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * XCache cache storage handler
2  libraries/joomla/client/ftp.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /** Error Codes:
13 13 * - 30 : Unable to connect to host
2  libraries/joomla/client/helper.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Client helper class
2  libraries/joomla/client/ldap.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * LDAP client class
2  libraries/joomla/database/database.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 JLoader::register('JDatabaseException', JPATH_PLATFORM . '/joomla/database/databaseexception.php');
13 13 jimport('joomla.filesystem.folder');
2  libraries/joomla/database/database/mysql.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 JLoader::register('JDatabaseQueryMySQL', dirname(__FILE__) . '/mysqlquery.php');
13 13 JLoader::register('JDatabaseExporterMySQL', dirname(__FILE__) . '/mysqlexporter.php');
2  libraries/joomla/database/database/mysqlexporter.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * MySQL export driver.
2  libraries/joomla/database/database/mysqli.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 JLoader::register('JDatabaseQueryMySQLi', dirname(__FILE__) . '/mysqliquery.php');
13 13 JLoader::register('JDatabaseExporterMySQLi', dirname(__FILE__) . '/mysqliexporter.php');
2  libraries/joomla/database/database/mysqliimporter.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 require_once dirname(__FILE__) . '/mysqlimporter.php';
13 13
2  libraries/joomla/database/database/mysqlimporter.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * MySQL import driver.
2  libraries/joomla/database/database/mysqliquery.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 require_once dirname(__FILE__) . '/mysqlquery.php';
13 13
2  libraries/joomla/database/database/mysqlquery.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.databasequery');
13 13
2  libraries/joomla/database/database/sqlazure.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 require dirname(__FILE__) . '/sqlsrv.php';
13 13
2  libraries/joomla/database/database/sqlazurequery.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.databasequery');
13 13
2  libraries/joomla/database/database/sqlsrv.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.database');
13 13 jimport('joomla.string.string');
2  libraries/joomla/database/database/sqlsrvquery.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.databasequery');
13 13
2  libraries/joomla/database/databaseexception.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Exception class definition for the Database subpackage.
2  libraries/joomla/database/databasequery.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Query Element Class.
2  libraries/joomla/database/table.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Abstract Table class
2  libraries/joomla/database/table/asset.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.tablenested');
13 13
2  libraries/joomla/database/table/category.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.tablenested');
13 13
2  libraries/joomla/database/table/content.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.tableasset');
13 13
2  libraries/joomla/database/table/extension.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/table/language.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/table/menu.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.tablenested');
13 13
2  libraries/joomla/database/table/menutype.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/table/module.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13 jimport('joomla.database.tableasset');
2  libraries/joomla/database/table/session.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Session table
2  libraries/joomla/database/table/update.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/table/user.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 /**
13 13 * Users table
2  libraries/joomla/database/table/usergroup.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/table/viewlevel.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/database/tablenested.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.database.table');
13 13
2  libraries/joomla/document/document.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 JLoader::register('JDocumentRenderer', dirname(__FILE__) . '/renderer.php');
13 13 jimport('joomla.environment.response');
2  libraries/joomla/document/error/error.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9
10   -defined('JPATH_PLATFORM') or die();
  10 +defined('JPATH_PLATFORM') or die;
11 11
12 12 jimport('joomla.document.document');
13 13
2  libraries/joomla/document/feed/feed.php
@@ -7,7 +7,7 @@
7 7 * @license GNU General Public License version 2 or later; see LICENSE
8 8 */
9 9