Skip to content

Commit

Permalink
Update Plugin_controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergotts authored Feb 14, 2024
1 parent ca761fb commit acc39ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/plugins/Plugin_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function __construct($login = TRUE)
$this->plugin_name = strtolower(get_class($this));

// Prevent this controller from being called directly
if (get_class() === get_class($this))
if ("Plugin_controller" === get_class($this))
{
redirect(site_url('/'), 'location', 301);
}
Expand Down

0 comments on commit acc39ec

Please sign in to comment.