General Technical Discussions for Service

Get Involved. Join the Conversation.

Topic

    Lord Rob Shorney
    Custom Process include helper files
    Topic posted June 26, 2015 by Lord Rob ShorneyRed Ribbon: 250+ Points 
    76 Views, 2 Comments
    Title:
    Custom Process include helper files
    Content:

    Good Morning,

    Please could someone let me know how we can use\include our own helper files within a custom process php file.

    Kind Regards

    Rob Shorney

    Version:
    May 2015

    Comment

     

    • Pramod Vasudeva Murthy

      Hi Rob,

      Did you try the following:

      1. Uploading Custom PHP file in Libraries of CP

      2. Uploading in File Manager -> Custom Scripts from Agent Desktop

    • Lord Rob Shorney
      Hi,
      
      Yes, finally figured it out.
      
      Uploaded my files via file manage and then include them in my php scripts using the path "custom/", for example  include "custom/smbc_sms.php";
      
      Thank you for your reply.
      
      Kind Regards
      
      Rob Shorney