Skip to content

Commit

Permalink
renamed file included wrong away and not generate perms
Browse files Browse the repository at this point in the history
  • Loading branch information
jacsonp committed Mar 25, 2016
1 parent 84547d3 commit 0aa4a05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions delibera.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@

require_once __DIR__ . DIRECTORY_SEPARATOR . 'delibera_conf.php';

require_once __DIR__ . DIRECTORY_SEPARATOR . 'delibera_conf_roles.php';

require_once __DIR__ . DIRECTORY_SEPARATOR . 'delibera_conf_themes.php';

require_once __DIR__ . DIRECTORY_SEPARATOR . 'print' . DIRECTORY_SEPARATOR . 'wp-print.php';
Expand Down
1 change: 0 additions & 1 deletion delibera_conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ function delibera_get_config() {
}

require_once('delibera_conf_themes.php');
require_once('delibera_conf_roles.php');

/**
* Return Main Configuration from database
Expand Down
4 changes: 2 additions & 2 deletions delibera_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ function delibera_install_roles()
$opt = delibera_get_config();

update_option('delibera-config', $opt);
if(file_exists(__DIR__.DIRECTORY_SEPARATOR.'delibera_roles.php'))
if(file_exists(__DIR__.DIRECTORY_SEPARATOR.'delibera_conf_roles.php'))
{
$delibera_permissoes = array();
require_once __DIR__.DIRECTORY_SEPARATOR.'delibera_roles.php';
include __DIR__.DIRECTORY_SEPARATOR.'delibera_conf_roles.php';
delibera_roles_install($delibera_permissoes);
}
}
Expand Down

0 comments on commit 0aa4a05

Please sign in to comment.