如何在laravel中计划文件夹目录(自定义命令)?

时间:2019-02-12 10:51:53

标签: php sql-server laravel-5 scheduled-tasks mkdir

我想在laravel计划中运行自定义命令时创建文件夹。在localhost上运行正常,但是在云上它不会创建文件夹,而如果我在控制器中运行相同的代码,它将在云服务器上创建新文件夹。

    <script id="blendModel-vert" type="x-shader/x-vertex">
        varying vec2 vUv;
        varying vec4 gPosition;
        void main() {
            vUv = uv;
            gPosition=gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
        }
    </script>
    <script id="blendModel-frag" type="x-shader/x-fragment">
        varying vec2 vUv;   
        uniform sampler2D buffer;           
        varying vec4 gPosition;
        void main() {

            gl_FragColor.rgb = texture2D(buffer, vUv).rgb;

            gl_FragColor.a = 1.0;
        }
    </script>




material=new THREE.ShaderMaterial( {
                vertexShader: document.querySelector( '#blendModel-vert' ).textContent.trim(),
                fragmentShader: document.querySelector( '#blendModel-frag' ).textContent.trim(),
                uniforms: {
                    buffer:  { value: mainData_hasmodel},

                    }
                });

0 个答案:

没有答案