Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Change template variables

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
designfreak
Posts: 1
Joined: Tue Jun 09, 2015 1:43 am
Contact:
Contact designfreak
Website

Change template variables
  • Quote

Post by designfreak » Tue Jun 09, 2015 1:50 am

Hi there,

Which file are the variables (specifically %docroot%) used in the templates (tpl files) kept?

I want to change the docroot of my hosted sites to match the folder name I am using during development (eg. host the public files in public rather than public_html).

Thank you.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Change template variables
  • Quote

Post by skurudo » Tue Jun 09, 2015 2:36 pm

You can try to hardcode in /usr/local/vesta/func/domain.sh and other files, where docroot is. But on own risks. From the box you can't change default path.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password