Skip to content

Commit

Permalink
Update atom.micro.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNN1 committed Jun 18, 2020
1 parent 4a14da4 commit bb77008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/Atom-X8/atom.micro.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function phpfusion_default_render() {

// Render output replacement
foreach ($atom_templates as $file => $template) {
if (preg_match("/".$file."/i", $_SERVER['PHP_SELF']) && (!defined('ADMIN_PANEL'))) {
if (($_SERVER['PHP_SELF'] !== '/edit_profile.php') && preg_match("/".$file."/i", $_SERVER['PHP_SELF']) && (!defined('ADMIN_PANEL'))) {
if (file_exists($template['file'])) {
include $template['file'];
$atom = TRUE;
Expand Down

0 comments on commit bb77008

Please sign in to comment.