<?php
require 'rb.php';
R::setup();
//for version 5.3 and higher
//optional but recommended
R::useFeatureSet( 'novice/latest' );
$post = R::dispense( 'post' );
$post->text = 'Hello World';
//create or update
$id = R::store( $post );
//retrieve
$post = R::load( 'post', $id );
//delete
R::trash( $post );
.env
.# Block access to hidden files (except the /.well-known/ dir)
location ~ /(?!.well-known)(\.)\w+ {
deny all;
}
true
, который преобразуется при печати в поток в единицу. Замените <?=
на <?php
для require_once
.