<?php
class constantes {
private $path;
private $path_admin;
private $base_url;
private $base_url_admin;
public function __construct(){
$this->path = '/home/axitech/www/dent';
// ...
}
public function getPath(){
return $this->path;
}
}
$constantes = new Constantes();
echo $constantes->getPath();
PD9waHAKCgpjbGFzcyBjb25zdGFudGVzIHsKCQoJCglwcml2YXRlICRwYXRoOwoJcHJpdmF0ZSAkcGF0aF9hZG1pbjsKCXByaXZhdGUgJGJhc2VfdXJsOwoJcHJpdmF0ZSAkYmFzZV91cmxfYWRtaW47CgkKCQoJcHVibGljIGZ1bmN0aW9uIF9fY29uc3RydWN0KCl7CgkJCgkJJHRoaXMtPnBhdGggPSAnL2hvbWUvYXhpdGVjaC93d3cvZGVudCc7CgkJLy8gLi4uCgkJCgl9CgkKCXB1YmxpYyBmdW5jdGlvbiBnZXRQYXRoKCl7CgkJCgkJcmV0dXJuICR0aGlzLT5wYXRoOwoJCQoJfQoJCgkKfQoKCiRjb25zdGFudGVzID0gbmV3IENvbnN0YW50ZXMoKTsKCmVjaG8gJGNvbnN0YW50ZXMtPmdldFBhdGgoKTs=