Change path handling in scripts

This commit is contained in:
DariusIII
2017-04-04 15:03:47 +02:00
parent da9fc59196
commit 06c5cb95df
94 changed files with 98 additions and 137 deletions
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
use nntmux\db\DB;
use nntmux\ColorCLI;