0
我有一個上傳文件腳本/var/www/u/repofolder
。我想從不是來自文本$dir = ''
的變量加載此鏈接。如何將變量用於公共靜態PHP?
<?php
$path = "/var/www/u/";
$repo = "repofolder";
$all = $path.$repo;
class gatorconf {
public static function get($param) {
$config = array(
'repository' => $all, instead 'repository' => '/var/www/u/repofolder',