Advertisement:

Author Topic: How to load custom.php file from plugin not from theme folder.  (Read 134 times)

fre2mansur

  • Hero Member
  • *****
  • Posts: 711
How to load custom.php file from plugin not from theme folder.

this code from controller/custom.php and it having the hook called  osc_run_hook('custom_controller');
Code: [Select]
function doView($file)
        {
            osc_run_hook("before_html");
            osc_current_web_theme_path($file);
            Session::newInstance()->_clearVariables();
            osc_run_hook("after_html");
        }