Skip to content

Commit

Permalink
Dev: added "viewsdir" variable into config-defaults.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed May 18, 2018
1 parent 884cf7a commit edb3418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/config/config-defaults.php
Expand Up @@ -640,6 +640,7 @@
$config['corequestionthemedir'] = "themes".DIRECTORY_SEPARATOR."question";
$config['corequestionthemerootdir'] = $config['rootdir'].DIRECTORY_SEPARATOR.$config['corequestionthemedir']; // The directory containing the core's question themes.
$config['styledir'] = $config['rootdir'].DIRECTORY_SEPARATOR.'themes'.DIRECTORY_SEPARATOR.'admin';
$config['viewsdir'] = $config['rootdir'].DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'views';
$config['questiontypedir'] = $config['rootdir'].DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'extensions'.DIRECTORY_SEPARATOR.'questionTypes';
$config['userthemerootdir'] = $config['uploaddir'].DIRECTORY_SEPARATOR."themes".DIRECTORY_SEPARATOR."survey"; // The directory path of the user themes
$config['userquestionthemedir'] = "themes".DIRECTORY_SEPARATOR."question"; // The directory containing the user's question themes.
Expand Down

3 comments on commit edb3418

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? What for ?

@dominikvitt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted this commit, it is not needed now.

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But : what for in future ?

In general : i think we can allow admin to replace any files, but we need a final place where to get the final file.

Please sign in to comment.