-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5,397 changed files
with
822,825 additions
and
1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
return array( | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
dvelum | ||
DVelum | ||
====== | ||
|
||
Professional PHP/ExtJS-based web development platform | ||
------ | ||
|
||
|
||
DVelum is a professional web-development platform based on PHP and ExtJS that aims at automating routine development tasks and facilitates programming by means of a graphical interface. | ||
It offers highest real-time performance, facilitates and speeds up the development process letting you concentrate on business logic and ignore minor issues. | ||
DVelum is an indispensable toolkit for development of both complex-structured systems (eCommerce, CRM, WebScada, etc. ) and simple websites. | ||
|
||
GNU General Public License version 3.0 | ||
|
||
|
||
Downloads https://sourceforge.net/projects/dvelum/files/ | ||
|
||
Old Version Downloads https://code.google.com/p/dvelum/downloads/list?can=1 | ||
|
||
Official Site (ENG) http://dvelum.net | ||
|
||
Official Site (RU) http://dvelum.ru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?php | ||
/* | ||
* DVelum console application | ||
* Return codes | ||
* 0 - Good | ||
* 1 - Empty URI | ||
* 2 - Wrong URI | ||
* 3 - Application Error | ||
*/ | ||
if (isset($_SERVER['argc']) && $_SERVER['argc']!==2 ){ | ||
exit(1); | ||
} | ||
|
||
$_SERVER['DOCUMENT_ROOT'] = __DIR__.'/www'; | ||
chdir(__DIR__.'/www'); | ||
|
||
define('DVELUM', true); | ||
define('DVELUM_CONSOLE', true); | ||
define('DVELUM_ROOT' , __DIR__.'/www'); | ||
|
||
/* | ||
* Connecting main configuration file | ||
*/ | ||
$config = include './system/config/main.php'; | ||
/* | ||
* Including Autoloader class | ||
*/ | ||
require $config['docroot'].'/system/library/Autoloader.php'; | ||
/* | ||
* Setting autoloader config | ||
*/ | ||
$autoloaderCfg = $config['autoloader']; | ||
$autoloaderCfg['debug'] = $config['development']; | ||
|
||
if($autoloaderCfg['useMap'] && $autoloaderCfg['usePackages'] && $autoloaderCfg['mapPackaged']) | ||
$autoloaderCfg['map'] = require $autoloaderCfg['mapPackaged']; | ||
elseif($autoloaderCfg['useMap'] && !$autoloaderCfg['usePackages'] && $autoloaderCfg['map']) | ||
$autoloaderCfg['map'] = require $autoloaderCfg['map']; | ||
else | ||
$autoloaderCfg['map'] = false; | ||
|
||
$autoloader = new Autoloader($autoloaderCfg); | ||
/** | ||
* Convert the data of main_config file | ||
* in to the general form of configuration | ||
* and save a reference for it (for convenience) | ||
* @var Config_Simple $appConfig | ||
*/ | ||
$appConfig = Config::factory(Config::Simple, 'main'); | ||
$appConfig->setData($config); | ||
Registry::set('main', $appConfig , 'config'); | ||
|
||
/* | ||
* Starting the application | ||
*/ | ||
$app = new Application($appConfig); | ||
$app->setAutoloader($autoloader); | ||
|
||
Request::getInstance()->setUri($_SERVER['argv'][1]); | ||
|
||
$app->run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php return array ( | ||
'list' => | ||
array ( | ||
|
||
) | ||
); |
Oops, something went wrong.