KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Move Vendor Folder #900

Closed Francisco Contreras opened this topic on on May 30, 2019 - 3 comments

Francisco Contreras commented on May 30, 2019

Hi, for security, Im move vendor folder outside var/html

now nothing works, im modified AppServiceProvider.php to setup the new public path.... but don't works.

in the code of html, see the bad path:

<script type='text/javascript' src='/xxxxx/vendor/koolphp/koolreport/src/clients/core/KoolReport.js'></script>

Francisco Contreras commented on May 30, 2019

Any?

KoolReport commented on May 31, 2019

Hi,

It may due to security of your webserver or app so those folder like "vendor" is inaccessible through web. In this case you will need to set the assets folder settings so that KoolReport can export resources to it.

Here is the guide: Settings for Assets Folder

By the way, if you are using CodeIgniter or Laravel, please enable the friendship in your report and the assets folder can be automatically configured.

Francisco Contreras commented on Jun 3, 2019

The solution was:

Edit core/ResourceManager.php and comment this line:

//$fullLocalPath = Utility::getSymbolicPath($fullLocalPath);

its not necesary add Assets in the Settings.

bye

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None