Skip to content

Commit

Permalink
Fix typo & update release
Browse files Browse the repository at this point in the history
  • Loading branch information
JazParkyn committed Jan 29, 2021
1 parent a641cfa commit eb3d166
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions kernelsentry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,22 @@
<description>
Plugin to include the Sentry PHP library in Joomla

<![CDATA[
<![CDATA[
<p>Example Content of PHP Settings File: (note that variable names MUST match exactly)</p>
<pre>
<?php
&lt;?php
class customConfig {
public $sentry_dsn = 'https://[email protected]/987654'; // Change to your Sentry DSN
public $sentry_environment = 'production'; // Change your environment label
}
?>
</pre>
<p>To prepend Sentry execution to .htaccess file (bypassing this plugin):</p>
<ol>
<li>Create settings file as detailed above</li>
<li>
Create a PHP file to call Sentry:
<pre>
<?php
&lt;?php
require_once dirname(__DIR__) . '/foldername/settings-file.php'; // Change to location of settings file
require_once dirname(__DIR__) . '/plugins/system/kernelsentry/vendor/autoload.php';
$settings_class = new customConfig(); // Change class name to match the class name in your settings file
Expand All @@ -38,7 +37,6 @@ Sentry\init(
'environment' => $settings_class->sentry_environment
]
);
?>
</pre>
</li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<type>plugin</type>
<version>1.0.1</version>
<client>site</client>
<infourl title="Kernel Sentry">https://github.com/kernel-data/kernel-sentry-for-joomla/releases/tag/1.0.1</infourl>
<infourl title="Kernel Sentry">https://github.com/kernel-data/kernel-sentry-for-joomla/releases/tag/1.0.2</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/kernel-data/kernel-sentry-for-joomla/releases/download/1.0.1/plg_kernelsentry_v1.0.1.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/kernel-data/kernel-sentry-for-joomla/releases/download/1.0.2/plg_kernelsentry_v1.0.2.zip</downloadurl>
</downloads>
<targetplatform name="joomla" version="3.[6789]" />
</update>
Expand Down

0 comments on commit eb3d166

Please sign in to comment.