![]() |
Bearsampp 2026.9.23
|
Static Private Attributes | |
| static | $corePath |
| static | $pathFormatCache = [] |
| static | $pathFormatCacheMaxSize = 500 |
| static | $pathFormatStats |
| static | $rootPath |
Path formatting utilities with a write-through cache.
Converts between Windows (backslash) and Unix (forward-slash) path styles and caches the results to avoid redundant string replacements for frequently used paths such as root, bin, and tool paths.
Usage:
Definition at line 24 of file class.path.php.
|
static |
Formats a path for AeTrayMenu.
| string | $path | The path to format. |
Definition at line 308 of file class.path.php.
References $rootPath, and getRootPath().
Referenced by getCorePath(), and getRootPath().
|
static |
Replaces old path references with new path references in the specified files.
| array | $filesToScan | Array of file paths to scan and modify. |
| string | null | $rootPath | The new root path to replace the old one. If null, uses a default root path. |
Definition at line 213 of file class.path.php.
References $bearsamppCore, $bearsamppRoot, $result, $rootPath, Log\debug(), Log\error(), formatUnixPath(), formatWindowsPath(), getRootPath(), Core\PATH_LIN_PLACEHOLDER, and Core\PATH_WIN_PLACEHOLDER.
Referenced by ActionReload\__construct(), ActionStartup\changePath(), BinPostgresql\initData(), and ActionSwitchVersion\processWindow().
|
static |
Clears the path format cache. Useful when paths change or for testing purposes.
Definition at line 280 of file class.path.php.
|
static |
Resolves an executable name to its full path.
Bare names from bearsampp.conf (e.g. "notepad++.exe") are resolved using:
| string | $name | The executable name or path to resolve. |
Definition at line 876 of file class.path.php.
References formatWindowsPath(), Registry\HKEY_CURRENT_USER, Registry\HKEY_LOCAL_MACHINE, and Win32Native\registryGetValue().
Referenced by Util\openFileContent().
|
static |
Converts a Windows-style path to a Unix-style path with caching. Unix-style paths use forward slashes (/) as separators.
Performance optimization: Caches results to avoid redundant string replacements for frequently used paths (e.g., root paths, bin paths).
| string | $path | The Windows-style path to convert. |
Definition at line 166 of file class.path.php.
References $result.
Referenced by changePath(), ActionQuit\checkForOrphanedProcesses(), OpenSsl\delSslCertificateHandler(), Root\errorHandler(), Win32Ps\findByPath(), Util\findFile(), Util\findFiles(), Util\findRepos(), OpenSsl\genSslCertificateHandler(), BinApache\getAliasContent(), BinApache\getVhostContent(), Win32Ps\killBins(), ActionStartup\killOldInstances(), ActionGenSslCertificate\processWindow(), ActionStartup\processWindow(), and ToolGit\reload().
|
static |
Converts a Unix-style path to a Windows-style path with caching. This is a Windows application, so paths use backslashes () as separators.
Performance optimization: Caches results to avoid redundant string replacements for frequently used paths (e.g., root paths, bin paths).
| string | $path | The Unix-style path to convert. |
Definition at line 127 of file class.path.php.
References $result.
Referenced by ActionGenSslCertificate\__construct(), changePath(), ActionStartup\checkPathRegKey(), OpenSsl\createCrt(), ActionAddVhost\createFormFields(), ActionEditAlias\createFormFields(), ActionEditVhost\createFormFields(), Symlinks\createModuleSymlink(), Batch\createSymlink(), OpenSsl\delSslCertificate(), OpenSsl\ensureRootCaExists(), findExecutable(), OpenSsl\genSslCertificate(), Registry\getAppBinsRegKey(), TplAestan\getItemPowerShell(), getNssmEnvPaths(), ToolPowerShell\getShell(), Batch\getTmpFile(), BinMariadb\initData(), Batch\installPostgresqlService(), OpenSsl\makeRootCa(), Batch\refreshEnvVars(), BinMariadb\reload(), Batch\removeSymlink(), Nssm\setBinPath(), Win32Service\setBinPath(), Nssm\setEnvironmentExtra(), and Batch\uninstallPostgresqlService().
|
static |
Retrieves the path to the ajax directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 336 of file class.path.php.
References getHomepagePath().
|
static |
Gets the path to the alias directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 348 of file class.path.php.
References getRootPath().
Referenced by ActionEditAlias\createFormFields(), ActionEditAlias\deleteItem(), BinApache\getAlias(), ActionEditAlias\getDeleteErrorMessage(), Util\getPathsToScan(), ActionEditAlias\initializeDialog(), ActionAddAlias\itemExists(), ActionEditAlias\itemExists(), BinApache\refreshAlias(), ActionAddAlias\saveItem(), ActionEditAlias\saveItem(), AppPhpmyadmin\updateConfig(), and AppPhppgadmin\updateConfig().
|
static |
Gets the path to the apps directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 360 of file class.path.php.
References getRootPath().
Referenced by Symlinks\deleteCurrentSymlinks(), QuickPick\getModuleDestinationPath(), Symlinks\isPathWithinAllowedBase(), and Module\reload().
|
static |
Gets the path to the batch log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 372 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), Batch\writeLog(), and CommandRunner\writeLog().
|
static |
Gets the path to the bin directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 384 of file class.path.php.
References getRootPath().
Referenced by Symlinks\deleteCurrentSymlinks(), QuickPick\getModuleDestinationPath(), Symlinks\isPathWithinAllowedBase(), and Module\reload().
|
static |
Gets the path to the configuration file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 396 of file class.path.php.
References getRootPath().
Referenced by Config\__construct(), TplAppEditConf\process(), and Config\replaceAll().
|
static |
Retrieves the core path of the application.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 408 of file class.path.php.
References aetrayPath().
Referenced by TplApp\getActionRun(), getisRootFilePath(), getLangsPath(), getLibsPath(), getResourcesPath(), getScriptsPath(), getTmpPath(), QuickPick\installModule(), and Autoloader\load().
|
static |
Gets the path to the error log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 463 of file class.path.php.
References getLogsPath().
Referenced by Root\errorHandler(), LangProc\getValue(), Root\initErrorHandling(), Log\separator(), and Log\write().
|
static |
Gets the path to the executable file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 475 of file class.path.php.
References getRootPath().
Referenced by Util\enableLaunchStartup(), Batch\exitApp(), Win32Ps\killBins(), ActionExt\procReload(), and ActionExt\procStart().
|
static |
Gets the path to the homepage file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 487 of file class.path.php.
References getWwwPath().
|
static |
Gets the path to the homepage log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 499 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and Log\write().
|
static |
Retrieves the path to the homepage.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 511 of file class.path.php.
References getResourcesPath().
Referenced by getAjaxPath(), getImagesPath(), and Homepage\refreshAliasContent().
|
static |
Retrieves the path to the HostsEditor executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 535 of file class.path.php.
References getHostsEditorPath(), and Core\HOSTSEDITOR_EXE.
Referenced by TplAppTools\getMenuTools().
|
static |
Retrieves the path to the HostsEditor directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 523 of file class.path.php.
References getLibsPath().
Referenced by getHostsEditorExe().
|
static |
Retrieves the path to the icons.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 547 of file class.path.php.
References getImagesPath().
Referenced by Util\enableLaunchStartup().
|
static |
Retrieves the path to the images.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 559 of file class.path.php.
References getHomepagePath().
Referenced by ActionAbout\__construct(), ActionLoading\__construct(), WinBinder\createWindow(), getIconsPath(), ActionLoading\incrProgressBar(), Splash\incrProgressBar(), Splash\init(), and ActionCheckVersion\showVersionUpdateWindow().
|
static |
Gets the path to the INI file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 571 of file class.path.php.
References getRootPath().
Referenced by ActionRebuildini\__construct(), ActionReload\__construct(), and ActionChangePort\processWindow().
|
static |
Retrieves the path to the root file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 583 of file class.path.php.
References getCorePath(), and Core\isRoot_FILE.
|
static |
Retrieves the path to the language files.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 595 of file class.path.php.
References getCorePath().
Referenced by LangProc\getList(), and LangProc\load().
|
static |
Retrieves the path to the last path file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 607 of file class.path.php.
References getResourcesPath(), and Core\LAST_PATH.
Referenced by Core\getLastPathContent(), and ActionStartup\savePath().
|
static |
Retrieves the path to the libraries.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 619 of file class.path.php.
References getCorePath().
Referenced by Core\__construct(), getHostsEditorPath(), getLnPath(), getMkcertPath(), getNssmPath(), getOpenSslPath(), getPhpPath(), getPwgenPath(), getSetEnvPath(), and Core\unzipFile().
|
static |
Retrieves the path to the LN executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 643 of file class.path.php.
References getLnPath(), and Core\LN_EXE.
Referenced by Batch\createSymlink().
|
static |
Retrieves the path to the LN directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 631 of file class.path.php.
References getLibsPath().
Referenced by getLnExe().
|
static |
Constructs a local URL with the specified request.
| string | null | $request | The specific request to append to the URL. |
Definition at line 430 of file class.path.php.
References $bearsamppBins, and $port.
Referenced by TplAestan\getItemLink(), TplAppMailpit\getMenuMailpit(), Homepage\getPageUrl(), and TplApp\getSectionMenuRight().
|
static |
Gets the path to the log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 655 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and Log\write().
|
static |
Gets the path to the logs directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 667 of file class.path.php.
References getRootPath().
Referenced by ActionClearFolders\__construct(), ActionReload\__construct(), getBatchLogFilePath(), getErrorLogFilePath(), getHomepageLogFilePath(), getLogFilePath(), TplAppLogs\getMenuLogs(), getNssmLogFilePath(), getRegistryLogFilePath(), getServicesLogFilePath(), getStartupLogFilePath(), BinApache\getVhostContent(), getWinbinderLogFilePath(), BinApache\reload(), BinMailpit\reload(), BinMariadb\reload(), BinMemcached\reload(), BinMysql\reload(), BinPhp\reload(), BinPostgresql\reload(), BinXlight\reload(), ActionStartup\rotationLogs(), and Log\sanitizeQueueTarget().
|
static |
Gets the path to the mkcert executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1146 of file class.path.php.
References getMkcertPath().
Referenced by OpenSsl\createCrt(), OpenSsl\ensureMkcertExeExists(), OpenSsl\ensureRootCaExists(), and OpenSsl\makeRootCa().
|
static |
Gets the path to the mkcert directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1134 of file class.path.php.
References getLibsPath().
Referenced by getMkcertExe().
|
static |
Gets the name of the mkcert root CA file.
Definition at line 1156 of file class.path.php.
Referenced by OpenSsl\ensureFirefoxTrustPrompt(), OpenSsl\ensureRootCaExists(), and OpenSsl\makeRootCa().
|
static |
Retrieves the current path for a module.
| Module | $module | The module instance. |
Definition at line 45 of file class.path.php.
Referenced by BinPhp\getApacheModule(), BinPhp\getExtensionsFromFolder(), BinPhp\getPearVersion(), BinPhp\getTsDll(), BinMariadb\initData(), BinMysql\initData(), BinPostgresql\initData(), BinPhp\reload(), BinMysql\updateConfig(), and BinPostgresql\updateConfig().
|
static |
Retrieves the root path for a module.
| Module | $module | The module instance. |
Definition at line 33 of file class.path.php.
Referenced by ActionReload\__construct(), ActionSwitchVersion\__construct(), and Util\getPathsToScan().
|
static |
Retrieves the symlink path for a module.
| Module | $module | The module instance. |
Definition at line 57 of file class.path.php.
Referenced by ActionSwitchPhpExtension\__construct(), Registry\getAppBinsRegKey(), TplAppGit\getMenuGit(), TplAppMariadb\getMenuMariadb(), TplAppMysql\getMenuMysql(), TplAppPostgresql\getMenuPostgresql(), TplAppPython\getMenuPython(), TplAppTools\getMenuTools(), getNssmEnvPaths(), TplPowerShell\getTabMariadbSection(), TplPowerShell\getTabMysqlSection(), TplPowerShell\getTabPearSection(), TplPowerShell\getTabPostgresqlSection(), Batch\installPostgresqlService(), AppPhpmyadmin\updateConfig(), AppPhppgadmin\updateConfig(), BinApache\updateConfig(), and ToolGit\updateConfig().
|
static |
Gets the NSSM environment paths.
Definition at line 701 of file class.path.php.
References $bearsamppBins, formatWindowsPath(), and getModuleSymlinkPath().
Referenced by Win32Service\create().
|
static |
Retrieves the path to the NSSM executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 691 of file class.path.php.
References getNssmPath(), and Core\NSSM_EXE.
Referenced by Nssm\exec().
|
static |
Gets the path to the NSSM log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 770 of file class.path.php.
References getLogsPath().
Referenced by Nssm\writeLog(), Nssm\writeLogError(), and Nssm\writeLogInfo().
|
static |
Retrieves the path to the NSSM directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 679 of file class.path.php.
References getLibsPath().
Referenced by getNssmExe().
|
static |
Retrieves the path to the OpenSSL configuration file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 782 of file class.path.php.
References getOpenSslPath(), and Core\OPENSSL_CONF.
|
static |
Retrieves the path to the OpenSSL executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 794 of file class.path.php.
References getOpenSslPath(), and Core\OPENSSL_EXE.
Referenced by OpenSsl\createCrt().
|
static |
Retrieves the path to the OpenSSL directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 806 of file class.path.php.
References getLibsPath().
Referenced by getOpenSslConf(), getOpenSslExe(), and Util\getPathsToScan().
|
static |
Gets the current size of the path format cache.
Definition at line 296 of file class.path.php.
|
static |
Gets path format cache statistics. Useful for monitoring cache effectiveness and tuning cache size.
Definition at line 200 of file class.path.php.
|
static |
Retrieves the path to the PEAR directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 831 of file class.path.php.
References getPhpPath().
|
static |
Retrieves the path to the PHP executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 843 of file class.path.php.
References getPhpPath(), and Core\PHP_EXE.
Referenced by Batch\exitApp(), TplApp\getActionRun(), QuickPick\installModule(), and Util\startLoading().
|
static |
Retrieves the path to the PHP directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 818 of file class.path.php.
References getLibsPath().
Referenced by HttpClient\getCacertPath(), getPearPath(), and getPhpExe().
|
static |
Finds the path to the PowerShell executable in the Windows System32 directory.
Definition at line 853 of file class.path.php.
References Util\findFile().
Referenced by TplPowerShell\getTabPowerShellSection().
|
static |
Gets the name of the process.
Definition at line 418 of file class.path.php.
|
static |
Retrieves the path to the PWGen executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 966 of file class.path.php.
References getPwgenPath(), and Core\PWGEN_EXE.
Referenced by TplAppTools\getMenuTools().
|
static |
Retrieves the path to the PWGen directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 954 of file class.path.php.
References getLibsPath().
Referenced by getPwgenExe().
|
static |
Gets the path to the registry log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 978 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and Registry\writeLog().
|
static |
Retrieves the path to the resources.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1002 of file class.path.php.
References getCorePath().
Referenced by QuickPick\__construct(), Core\getAppVersion(), getHomepagePath(), getLastPath(), Core\getLoadingPid(), and Util\getPathsToScan().
|
static |
Retrieves the root path of the application.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 324 of file class.path.php.
References aetrayPath().
Referenced by ActionStartup\__construct(), aetrayPath(), changePath(), ActionQuit\checkForOrphanedProcesses(), ActionStartup\checkPathRegKey(), Util\enableLaunchStartup(), Root\errorHandler(), getAliasPath(), getAppsPath(), getBinPath(), getConfigFilePath(), getExeFilePath(), getIniFilePath(), getLogsPath(), TplAppApache\getMenuApacheService(), TplAppMailpit\getMenuMailpitService(), TplAppMemcached\getMenuMemcached(), TplAppTools\getMenuTools(), TplAppXlight\getMenuXlightService(), getSslPath(), TplPowerShell\getTabCmdSection(), TplPowerShell\getTabPowerShellSection(), getToolsPath(), getVhostsPath(), getWwwPath(), Win32Ps\killBins(), Batch\refreshEnvVars(), ToolGit\reload(), and ActionQuit\verifySymlinksRemoved().
|
static |
Retrieves the path to a specific script.
| string | $type | The type of script. |
Definition at line 1014 of file class.path.php.
References getScriptsPath().
|
static |
Retrieves the path to the scripts.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1026 of file class.path.php.
References getCorePath().
Referenced by getScript().
|
static |
Gets the path to the services log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1038 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and Win32Service\writeLog().
|
static |
Retrieves the path to the SetEnv executable.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1062 of file class.path.php.
References getSetEnvPath(), and Core\SETENV_EXE.
Referenced by Batch\refreshEnvVars().
|
static |
Retrieves the path to the SetEnv directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1050 of file class.path.php.
References getLibsPath().
Referenced by getSetEnvExe().
|
static |
Gets the path to the SSL configuration file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1074 of file class.path.php.
References getSslPath().
|
static |
Gets the path to the SSL directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1086 of file class.path.php.
References getRootPath().
Referenced by ActionGenSslCertificate\__construct(), OpenSsl\delSslCertificate(), OpenSsl\ensureFirefoxTrustPrompt(), OpenSsl\ensureSslDirExists(), OpenSsl\existsCrt(), OpenSsl\genSslCertificate(), getSslConfPath(), BinApache\getVhostContent(), OpenSsl\isExpired(), OpenSsl\makeRootCa(), and OpenSsl\maybePromptTrustRootCa().
|
static |
Retrieves the path for the startup link file.
Definition at line 988 of file class.path.php.
References APP_TITLE, and Win32Native\getSpecialFolderPath().
Referenced by Util\disableLaunchStartup(), Util\enableLaunchStartup(), and Util\isLaunchStartup().
|
static |
Gets the path to the startup log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1098 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and ActionStartup\writeLog().
|
static |
Retrieves the path to the temporary directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1110 of file class.path.php.
References getCorePath().
Referenced by ActionClearFolders\__construct(), ActionStartup\cleanTmpFolders(), ActionQuit\cleanupTemporaryFiles(), Cache\clear(), Util\clearLoadingText(), QuickPick\fetchAndUnzipModule(), Cache\get(), Cache\getCacheIntegrityKey(), Core\getExec(), Batch\getTmpFile(), Log\initializeAsyncQueue(), Core\isSafeDestinationFileList(), Util\openFileContent(), Root\register(), ActionStartup\rotationLogs(), Cache\set(), ActionLoading\updateLabelFromStatusFile(), and Util\updateLoadingText().
|
static |
Gets the path to the tools directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1122 of file class.path.php.
References getRootPath().
Referenced by Symlinks\deleteCurrentSymlinks(), QuickPick\getModuleDestinationPath(), Symlinks\isPathWithinAllowedBase(), and Module\reload().
|
static |
Gets the path to the virtual hosts directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1168 of file class.path.php.
References getRootPath().
Referenced by ActionEditVhost\createFormFields(), ActionEditVhost\deleteItem(), Csrf\getAllowedHosts(), ActionEditVhost\getDeleteErrorMessage(), Util\getPathsToScan(), BinApache\getVhosts(), BinApache\getVhostsUrl(), ActionEditVhost\initializeDialog(), ActionAddVhost\itemExists(), ActionEditVhost\itemExists(), BinApache\refreshVhosts(), ActionAddVhost\saveItem(), ActionEditVhost\saveItem(), and BinApache\updateConfig().
|
static |
Retrieves the web icons path.
Definition at line 1178 of file class.path.php.
References getWebImagesPath().
|
static |
Retrieves the web images path.
Definition at line 1188 of file class.path.php.
References getWebResourcesPath().
Referenced by getWebIconsPath().
|
static |
Retrieves the web resources path.
Definition at line 1198 of file class.path.php.
References APP_TITLE.
Referenced by BinApache\checkPort(), getWebImagesPath(), getWebResourcesUrl(), and Homepage\refreshAliasContent().
|
static |
Retrieves the URL to the web resources.
Definition at line 1208 of file class.path.php.
References $bearsamppBins, $port, and getWebResourcesPath().
|
static |
Gets the path to the Winbinder log file.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1242 of file class.path.php.
References getLogsPath().
Referenced by Log\separator(), and WinBinder\writeLog().
|
static |
Gets the path to the WWW directory.
| bool | $aetrayPath | Whether to format the path for AeTrayMenu. |
Definition at line 1254 of file class.path.php.
References getRootPath().
Referenced by ActionAddVhost\createFormFields(), getHomepageFilePath(), TplAppGit\getMenuGit(), TplAppNodejs\getMenuNodejs(), TplAppTools\getMenuTools(), TplApp\getSectionMenuLeft(), TplPowerShell\getTabComposerSection(), TplPowerShell\getTabGhostscriptSection(), TplPowerShell\getTabGitSection(), TplPowerShell\getTabNgrokSection(), TplPowerShell\getTabNodejsSection(), TplPowerShell\getTabPerlSection(), TplPowerShell\getTabPythonSection(), TplPowerShell\getTabRubySection(), BinApache\getWwwDirectories(), Win32Ps\killBins(), and BinApache\updateConfig().
|
static |
Initializes the Path class with root and core paths.
| string | $rootPath | The root path of the application. |
| string | $corePath | The path to the core directory. |
Definition at line 91 of file class.path.php.
References $corePath, and $rootPath.
Referenced by Root\__construct().
|
staticprivate |
Definition at line 81 of file class.path.php.
Referenced by init().
|
staticprivate |
Definition at line 67 of file class.path.php.
|
staticprivate |
Definition at line 102 of file class.path.php.
|
staticprivate |
Definition at line 109 of file class.path.php.
|
staticprivate |
Definition at line 74 of file class.path.php.
Referenced by aetrayPath(), changePath(), and init().