On the hosting gives an error
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /var/www/vhosts/ikirab.office-xxi.com/beejee.ikirab.office-xxi.com/framework/core/image.php on line 12 on the local machine, everything is fine
index.php
//Π΄ΠΈΡΠ΅ΠΊΡΠΎΡΠΈΡ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ define('APP_PATH', __DIR__); define('FRAMEWORK_PATH', __DIR__ . '/../framework'); /* ΠΏΠΎΠΊΠ°Π· ΠΎΡΠΈΠ±ΠΎΠΊ - Π²ΠΊΠ»ΡΡΠ΅Π½ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ development Π·Π°ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠΈΡΠΎΠ²Π°ΡΡ Π΄Π»Ρ ΡΠ΅ΠΆΠΈΠΌΠ° production */ ini_set('display_errors', 1); //Π²Ρ
ΠΎΠ΄Π½ΠΎΠΉ ΡΠΊΡΠΈΠΏΡ require_once(APP_PATH . '/app.php'); app::run(); image.php
<?php /** * Created by PhpStorm. * User: ikirab * Date: 10/12/16 * Time: 11:40 AM */ class image { public $path = APP_PATH . "/image/"; This is line 12, to which the parser scolds.
public $path = APP_PATH . "/image/"; __DIR__ on hosting is
/var/www/vhosts/ikirab.office-xxi.com/beejee.ikirab.office-xxi.com/app When removing /var this error does not issue, but does not include files
ini_set- ReinRaus