What's new
  • The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked! For more information about rules, limits, and more, visit the Help page.
    Found a dead link? Use the report button!
Perfex - Powerful Open Source CRM + Premium Add-ons

NULLED Perfex - Powerful Open Source CRM + Premium Add-ons 3.3.0

i m getting gateway timeout with perfex , i have a 16 core server and 32 gig ram dedicated . I m suspecting that there might be some limitation in perfex because i could only see about 0.05 load on my server even in the 504 gateway , If anyone has idea on something that needs to be increased to meet this requirement please let me no on that.
 
Reacted by:
hi there

How does perfex crm turn off “customer login” completely or A module was doing this but I don't remember if you can help me how do we do this with code..I want the admin panel login directly at startup
 
aki 's signature
Reacted by:
hi there

How does perfex crm turn off “customer login” completely or A module was doing this but I don't remember if you can help me how do we do this with code..I want the admin panel login directly at startup

Hi, you can make admin login default with this custom hook
PHP:
hooks()->add_action('app_init','my_change_default_url_to_admin');

function my_change_default_url_to_admin(){
    $CI = &get_instance();

    if(!is_client_logged_in() && !$CI->uri->segment(1)){
        redirect(site_url('admin/authentication'));
    }
}

Then you can add this hook to disable customers area
PHP:
hooks()->add_action('after_clients_area_init', 'my_disable_customers_area');
hooks()->add_action('clients_authentication_constructor', 'my_disable_customers_area');

function my_disable_customers_area(){
    header('HTTP/1.0 401 Unauthorized');
    die('Access not allowed');
}

Kind regards
 
Reacted by:
  • Like
Reactions: aki and doe
Hi, you can make admin login default with this custom hook
PHP:
hooks()->add_action('app_init','my_change_default_url_to_admin');

function my_change_default_url_to_admin(){
    $CI = &get_instance();

    if(!is_client_logged_in() && !$CI->uri->segment(1)){
        redirect(site_url('admin/authentication'));
    }
}

Then you can add this hook to disable customers area
PHP:
hooks()->add_action('after_clients_area_init', 'my_disable_customers_area');
hooks()->add_action('clients_authentication_constructor', 'my_disable_customers_area');

function my_disable_customers_area(){
    header('HTTP/1.0 401 Unauthorized');
    die('Access not allowed');
}

Kind regards
I found a better way
but thank you for your kindness.
 
aki 's signature
Reacted by:
  • Like
Reactions: Ufuk.88
Top