Not allowed to load local resource: file:///

后端 未结 1 1868
日久生厌
日久生厌 2021-01-24 23:50

I have some images in a folder called \"Slides\" in my project; I am trying to access those images; but it gives me the following error:

Not allowed to load loca         


        
相关标签:
1条回答
  • 2021-01-25 00:09

    It's probably coming from your APPPATH constant in realpath(). Should be more like $this->signage_Path = 'MyProject/Slides', without realpath(). PHP cannot access a file that is not on a Server, without Client permission. Of course, I really don't know what your sinage_Path is supposed to be. This should just give you an idea of your problem.

    0 讨论(0)
提交回复
热议问题