初めて触ったconcrete5に、よく出てたんだけど。
このエラー。
別に気にしてなかったんだよね。動いてるからw
warning:file_exists()[function.file-exists]:open_basedir restriction in effect.File(//home/concrete/blocks/rss_displayer/vew.css)is not within the allowed path(s):(/var/www/vhosts/ドメイン/httodocs:/tmp)in /var/www/vhosts/misetai.net/httpdocs/home/concrete/helpers/html.php on line 42
まぁ、上のエラーが言うとおりに、
/home/concrete/helpers/html.phpの42行目
if (file_exists($v->getThemeDirectory() . '/' . $file)) {
を、の「file_exists」部分を下記↓↓に書き換え
$v->getThemeDirectory() != '' && file_exists
で、一ヶ月以上経つけど、異常なし。
これで、今後も行けるかな。
それにしても。いい加減。
PHP覚えないとダメかな。ダメだよね・・・。
何を言いたいのかすら、わかんないんだもの・・・。
アルファベットと数字は「眠れ!!」と要求されてる気しかしません。はい。
0 件のコメント:
コメントを投稿