Permalink
Browse files

Unify the style of the JPATH_PLATFORM check.

  • Loading branch information...
1 parent 95cc49c commit fc5a10c569b2707f9bdca7d17fba6159c8106f9f @realityking realityking committed Nov 9, 2011
Showing with 227 additions and 227 deletions.
  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
View
4 libraries/import.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('_JEXEC') or die;
-
// Set the platform root path as a constant if necessary.
if (!defined('JPATH_PLATFORM'))
{
@@ -47,6 +45,8 @@
require_once JPATH_PLATFORM . '/loader.php';
}
+class_exists('JLoader') or die;
+
// Setup the autoloaders.
JLoader::setup();
View
2 libraries/joomla/access/access.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.access.rules');
jimport('joomla.utilities.arrayhelper');
View
2 libraries/joomla/access/rule.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JRule class.
View
2 libraries/joomla/access/rules.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.access.rule');
View
2 libraries/joomla/application/application.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.input');
jimport('joomla.event.dispatcher');
View
2 libraries/joomla/application/applicationexception.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Exception class definition for the Application subpackage.
View
2 libraries/joomla/application/categories.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JCategories Class.
View
2 libraries/joomla/application/cli.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.applicationexception');
jimport('joomla.application.input');
View
2 libraries/joomla/application/cli/daemon.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.cli');
jimport('joomla.application.applicationexception');
View
2 libraries/joomla/application/component/controller.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Base class for a Joomla Controller
View
2 libraries/joomla/application/component/controlleradmin.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.controller');
View
2 libraries/joomla/application/component/controllerform.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.controller');
View
2 libraries/joomla/application/component/helper.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Component helper class
View
2 libraries/joomla/application/component/model.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Base class for a Joomla Model
View
2 libraries/joomla/application/component/modeladmin.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.modelform');
View
2 libraries/joomla/application/component/modelform.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.model');
jimport('joomla.form.form');
View
2 libraries/joomla/application/component/modelitem.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.model');
View
2 libraries/joomla/application/component/modellist.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.model');
View
2 libraries/joomla/application/component/view.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Base class for a Joomla View
View
2 libraries/joomla/application/helper.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Application helper functions
View
2 libraries/joomla/application/input.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
JLoader::discover('JInput', dirname(__FILE__) . '/input');
View
2 libraries/joomla/application/input/cli.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.input');
View
2 libraries/joomla/application/input/cookie.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.input');
View
2 libraries/joomla/application/input/files.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.input');
View
2 libraries/joomla/application/menu.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JMenu class
View
2 libraries/joomla/application/module/helper.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.component.helper');
View
2 libraries/joomla/application/pathway.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Class to maintain a pathway.
View
2 libraries/joomla/application/router.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Set the available masks for the routing mode
View
2 libraries/joomla/application/web.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.applicationexception');
jimport('joomla.application.input');
View
2 libraries/joomla/application/web/webclient.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Class to model a Web Client.
View
2 libraries/joomla/base/adapter.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
View
2 libraries/joomla/base/adapterinstance.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Adapter Instance Class
View
2 libraries/joomla/base/node.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Tree Node Class.
View
2 libraries/joomla/base/object.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Base object class.
View
2 libraries/joomla/base/observable.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Abstract observable class to implement the observer design pattern
View
2 libraries/joomla/base/observer.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Abstract observer class to implement the observer design pattern
View
2 libraries/joomla/base/tree.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.base.node');
View
2 libraries/joomla/cache/cache.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
//Register the storage class with the loader
JLoader::register('JCacheStorage', dirname(__FILE__) . '/storage.php');
View
2 libraries/joomla/cache/controller.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Public cache handler
View
2 libraries/joomla/cache/controller/callback.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.cache.controller');
View
2 libraries/joomla/cache/controller/output.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Joomla Cache output type object
View
2 libraries/joomla/cache/controller/page.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Joomla! Cache page type object
View
2 libraries/joomla/cache/controller/view.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Joomla! Cache view type object
View
2 libraries/joomla/cache/storage.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Abstract cache storage handler
View
2 libraries/joomla/cache/storage/apc.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* APC cache storage handler
View
2 libraries/joomla/cache/storage/cachelite.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Cache lite storage handler
View
2 libraries/joomla/cache/storage/eaccelerator.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* eAccelerator cache storage handler
View
2 libraries/joomla/cache/storage/file.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.file');
View
2 libraries/joomla/cache/storage/helpers/helper.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Cache storage helper functions.
View
2 libraries/joomla/cache/storage/memcache.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Memcache cache storage handler
View
2 libraries/joomla/cache/storage/wincache.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* WINCACHE cache storage handler
View
2 libraries/joomla/cache/storage/xcache.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* XCache cache storage handler
View
2 libraries/joomla/client/ftp.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/** Error Codes:
* - 30 : Unable to connect to host
View
2 libraries/joomla/client/helper.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Client helper class
View
2 libraries/joomla/client/ldap.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* LDAP client class
View
2 libraries/joomla/database/database.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
JLoader::register('JDatabaseException', JPATH_PLATFORM . '/joomla/database/databaseexception.php');
jimport('joomla.filesystem.folder');
View
2 libraries/joomla/database/database/mysql.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
JLoader::register('JDatabaseQueryMySQL', dirname(__FILE__) . '/mysqlquery.php');
JLoader::register('JDatabaseExporterMySQL', dirname(__FILE__) . '/mysqlexporter.php');
View
2 libraries/joomla/database/database/mysqlexporter.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* MySQL export driver.
View
2 libraries/joomla/database/database/mysqli.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
JLoader::register('JDatabaseQueryMySQLi', dirname(__FILE__) . '/mysqliquery.php');
JLoader::register('JDatabaseExporterMySQLi', dirname(__FILE__) . '/mysqliexporter.php');
View
2 libraries/joomla/database/database/mysqliimporter.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
require_once dirname(__FILE__) . '/mysqlimporter.php';
View
2 libraries/joomla/database/database/mysqlimporter.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* MySQL import driver.
View
2 libraries/joomla/database/database/mysqliquery.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
require_once dirname(__FILE__) . '/mysqlquery.php';
View
2 libraries/joomla/database/database/mysqlquery.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.databasequery');
View
2 libraries/joomla/database/database/sqlazure.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
require dirname(__FILE__) . '/sqlsrv.php';
View
2 libraries/joomla/database/database/sqlazurequery.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.databasequery');
View
2 libraries/joomla/database/database/sqlsrv.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.database');
jimport('joomla.string.string');
View
2 libraries/joomla/database/database/sqlsrvquery.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.databasequery');
View
2 libraries/joomla/database/databaseexception.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Exception class definition for the Database subpackage.
View
2 libraries/joomla/database/databasequery.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Query Element Class.
View
2 libraries/joomla/database/table.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Abstract Table class
View
2 libraries/joomla/database/table/asset.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.tablenested');
View
2 libraries/joomla/database/table/category.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.tablenested');
View
2 libraries/joomla/database/table/content.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.tableasset');
View
2 libraries/joomla/database/table/extension.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/table/language.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/table/menu.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.tablenested');
View
2 libraries/joomla/database/table/menutype.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/table/module.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
jimport('joomla.database.tableasset');
View
2 libraries/joomla/database/table/session.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Session table
View
2 libraries/joomla/database/table/update.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/table/user.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Users table
View
2 libraries/joomla/database/table/usergroup.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/table/viewlevel.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/database/tablenested.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.database.table');
View
2 libraries/joomla/document/document.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
JLoader::register('JDocumentRenderer', dirname(__FILE__) . '/renderer.php');
jimport('joomla.environment.response');
View
2 libraries/joomla/document/error/error.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.document.document');
View
2 libraries/joomla/document/feed/feed.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.document.document');
View
2 libraries/joomla/document/feed/renderer/atom.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocumentRenderer_Atom is a feed that implements the atom specification
View
2 libraries/joomla/document/feed/renderer/rss.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocumentRenderer_RSS is a feed that implements RSS 2.0 Specification
View
2 libraries/joomla/document/html/html.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.application.module.helper');
jimport('joomla.document.document');
View
2 libraries/joomla/document/html/renderer/component.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Component renderer
View
2 libraries/joomla/document/html/renderer/head.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocument head renderer
View
2 libraries/joomla/document/html/renderer/message.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocument system message renderer
View
2 libraries/joomla/document/html/renderer/module.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocument Module renderer
View
2 libraries/joomla/document/html/renderer/modules.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JDocument Modules renderer
View
2 libraries/joomla/document/json/json.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.document.document');
View
2 libraries/joomla/document/raw/raw.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.document.document');
View
2 libraries/joomla/document/xml/xml.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.document.document');
View
2 libraries/joomla/environment/browser.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.log.log');
View
2 libraries/joomla/environment/request.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.filter.filterinput');
jimport('joomla.log.log');
View
2 libraries/joomla/environment/response.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* JResponse Class.
View
2 libraries/joomla/environment/uri.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.string.string');
View
2 libraries/joomla/error/error.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
// Error Definition: Illegal Options
define('JERROR_ILLEGAL_OPTIONS', 1);
View
2 libraries/joomla/error/exception.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
// Pull in JLog for deprecation logging.
jimport('joomla.log.log');
View
2 libraries/joomla/error/log.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
// TODO: Wack this into a language file when this gets merged
if (JDEBUG)
View
2 libraries/joomla/error/profiler.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
/**
* Utility class to assist in the process of benchmarking the execution
View
2 libraries/joomla/event/dispatcher.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-defined('JPATH_PLATFORM') or die();
+defined('JPATH_PLATFORM') or die;
jimport('joomla.base.observable');
View
2 libraries/joomla/event/event.php
@@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/