Skip to content

Instantly share code, notes, and snippets.

View skvoz's full-sized avatar

Perevozchykov Kostiantyn skvoz

View GitHub Profile
<?php
$params = array_merge(
require(__DIR__ . '/../../common/config/params.php'),
require(__DIR__ . '/../../common/config/params-local.php'),
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);
return [
'id' => 'app-frontend',
RewriteEngine on
# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
CSS 3D available, WebGL available
pano2vr_player.js:45 WebGL: INVALID_ENUM: enable: invalid capability
pano2vr_player.js:66 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
18detail?id=9:1 [.WebGLRenderingContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texImage2D: no texture
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texParameter: no texture
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texParameter: no texture
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texParameter: no texture
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texParameter: no texture
pano2vr_player.js:28 WebGL: INVALID_OPERATION: texImage2D: no texture
<?php
class Settings
{
/** static variable instance class
* @var Settings
*/
private static $_instance ;
/**